Solves the fixed active model using a solution from the solution pool.

Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
public virtual bool SolveFixed(
	int soln
)
Visual Basic
Public Overridable Function SolveFixed ( _
	soln As Integer _
) As Boolean

Parameters

soln
Type: System..::..Int32
The index of the solution pool member to use in generating the fixed model. A value of Cplex.IncumbentId specifies that the fixed model should correspond to the incumbent rather than a member of the solution pool.

Return Value

A Boolean value reporting whether a feasible solution has been found. This solution is not necessarily optimal. If false is returned a feasible solution may still be present, but Cplex has not been able to prove its feasibility.

Remarks

The fixed model is generated from a MIP problem, and a solution to it, by fixing all integer variables to their solution values.

A call to this method causes CPLEX to view the extracted MIP model as a continuous model, so that you can obtain information normally available for a continuous solution but normally unavailable for MIP models. CPLEX views the model as continuous until a call to another method restores the model as a MIP. For example, a call to Cplex.Solve restores the model back to MIP and solves the model immediately, provided the advanced start parameter has not been disabled.

See Also