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.

IloCplex::PWLFormulation<br />

IloCplex::PWLFormulation<br />

Category<br />

Definition File<br />

Include Files<br />

Synopsis<br />

Inner Enumeration<br />

ilocplexi.h<br />

ilocplex.h<br />

PWLFormulation{<br />

LambdaSOS,<br />

LambdaBin,<br />

Disjunctive,<br />

Delta<br />

};<br />

Description The enumeration PWLFormulation defines symbolic constants that represent<br />

various ways of representing piecewise linear expressions in a MIP. Which of these<br />

ways to use is controlled by the method setPWLFormulation. All of these<br />

formulations have the same theoretical strength. However, in practice, the effectiveness<br />

for solving a particular model may vary dramatically, depending on the formulation<br />

being used. These are the various formulations:<br />

◆<br />

◆<br />

◆<br />

◆<br />

Disjunctive, the default, represents a tight formulation of the logical disjunction<br />

underlying the function that is being made piecewise linear.<br />

LambdaSOS represents a transformation of a piecewise linear expression in which<br />

a variable is created for each breakpoint, and a special ordered set of type 2 (SOS2)<br />

is added for those variables.<br />

LambdaBin represents a transformation of a piecewise linear expression similar to<br />

LambdaSOS in which, however, the SOS2 constraint is replaced by a set of linear<br />

constraints defined over additional binary variables.<br />

Delta indicates a cumulative formulation.<br />

Fields<br />

LambdaSOS<br />

LambdaBin<br />

Disjunctive<br />

Delta<br />

Group optim.cplex.cpp.logical<br />

The <strong>API</strong> of <strong>ILOG</strong> <strong>CPLEX</strong> Logical Formulations for users of <strong>C++</strong>.<br />

Description<br />

What Are Logical Constraints<br />

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

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

Saved successfully!

Ooh no, something went wrong!