Overview | Group | Index | Concepts |
The routine CPXchgprobtypesolnpool
changes the current problem, if it is a mixed integer problem,
to a related fixed problem using a solution from the solution
pool. The problem types
that can be used appear in the table.
Value | Symbolic Constant | Meaning |
3 | CPXPROB_FIXEDMILP | Problem with ctype information, integer variables
fixed. |
8 | CPXPROB_FIXEDMIQP | Problem with quadratic data and ctype information,
integer variables fixed. |
A mixed integer problem (CPXPROB_MILP
,
CPXPROB_MIQP
) can be changed to a fixed problem
(CPXPROB_FIXEDMILP
, CPXPROB_FIXEDMIQP
)
where bounds on integer variables are fixed to the values
attained in the integer solution.
Example
status = CPXchgprobtypesolnpool (env, lp, 1, CPXPROB_FIXEDMILP);
See Also:
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX LP problem object as returned by |
type | An integer specifying the target problem type. |
soln | An integer specifying the index of the solution pool member whose values are to be used. A value of -1 specifies that the incumbent solution should be used instead of a solution pool member. |