- Procedure GMP::SolverSession::RejectIncumbent(solverSession)
GMP::SolverSession::RejectIncumbent
The procedure GMP::SolverSession::RejectIncumbent
rejects the
integer solution found by a solver session during the solution process
of a MIP model.
GMP::SolverSession::RejectIncumbent(
solverSession ! (input) a solver session
)
Arguments
- solverSession
An element in the set
AllSolverSessions
.
Return Value
The procedure returns 1 on success, or 0 otherwise.
Note
This procedure can only be called from within a
CallbackCandidate
callback procedure.A
CallbackCandidate
callback procedure will only be called when solving mixed integer programs with CPLEX.
See also
The procedure GMP::Instance::SetCallbackCandidate
. See Managing Generated Mathematical Program Instances of the Language Reference for
more details on how to install a candidate callback procedure.