30.01.2015 Views

ILOG CPLEX C++ API 9.0 Reference Manual

ILOG CPLEX C++ API 9.0 Reference Manual

ILOG CPLEX C++ API 9.0 Reference Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

BranchCallbackI::BranchType<br />

BranchCallbackI::BranchType<br />

Category<br />

Definition File<br />

Include Files<br />

Synopsis<br />

Description<br />

See Also<br />

Fields<br />

Inner Enumeration<br />

ilocplexi.h<br />

ilcplex/ilocplex.h<br />

BranchType{<br />

BranchOnVariable,<br />

BranchOnSOS1,<br />

BranchOnSOS2,<br />

BranchOnAny,<br />

UserBranch<br />

};<br />

IloCplex::BranchCallbackI::BranchType is an enumeration limited in<br />

scope to the class IloCplex::BranchCallbackI. This enumeration is used by the<br />

method IloCplex::BranchCallbackI::getBranchType to tell what kind of<br />

branch IloCplex is about to do:<br />

◆ BranchOnVariable indicates branching on a single variable.<br />

◆ BranchOnAny indicates multiple bound changes and constraints will be used<br />

for branching.<br />

◆ BranchOnSOS1 indicates branching on an SOS of type 1.<br />

◆ BranchOnSOS2 indicates branching on an SOS of type 2.<br />

IloCplex::BranchCallbackI<br />

BranchOnVariable<br />

= CPX_TYPE_VAR<br />

BranchOnSOS1<br />

= CPX_TYPE_SOS1<br />

BranchOnSOS2<br />

= CPX_TYPE_SOS2<br />

BranchOnAny<br />

= CPX_TYPE_ANY<br />

UserBranch<br />

<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!