Procedure GMP::SolverSession::RejectIncumbent(solverSession)


The procedure GMP::SolverSession::RejectIncumbent rejects the integer solution found by a solver session during the solution process of a MIP model.

     solverSession   ! (input) a solver session



An element in the set AllSolverSessions.

Return Value

The procedure returns 1 on success, or 0 otherwise.


  • 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.