public static final class IloCplex.SolutionSource
extends java.lang.Object
NodeSolution
HeuristicSolution
UserSolution
MIPStartSolution
| Modifier and Type | Field and Description |
|---|---|
static int |
HeuristicSolution
The integral solution was found by a CPLEX internal heuristic.
|
static int |
MIPStartSolution
The integral solution was found during MIP start processing.
|
static int |
NodeSolution
The integral solution was found as the solution to an
LP-relaxation of a node in the search tree.
|
static int |
UserSolution
The integral solution was found by the user's heuristic callback
callback function.
|
| Constructor and Description |
|---|
IloCplex.SolutionSource() |
public static final int NodeSolution
public static final int HeuristicSolution
public static final int UserSolution
This value is never returned for lazy constraint callbacks.
public static final int MIPStartSolution
Note that callbacks invoked in this situation do not have the full API available. For example, you cannot set/get user data to a node, nor can you do anything else that requires a search tree node context.