Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public virtual bool SolveFixed() |
| Visual Basic |
|---|
Public Overridable Function SolveFixed As Boolean |
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.