Detailed Description
methods to initiate and conduct NLP Diving
Functions | |
SCIP_EXPORT SCIP_RETCODE | SCIPstartDiveNLP (SCIP *scip) |
SCIP_EXPORT SCIP_RETCODE | SCIPendDiveNLP (SCIP *scip) |
SCIP_EXPORT SCIP_RETCODE | SCIPchgVarObjDiveNLP (SCIP *scip, SCIP_VAR *var, SCIP_Real coef) |
SCIP_EXPORT SCIP_RETCODE | SCIPchgVarBoundsDiveNLP (SCIP *scip, SCIP_VAR *var, SCIP_Real lb, SCIP_Real ub) |
SCIP_EXPORT SCIP_RETCODE | SCIPchgVarsBoundsDiveNLP (SCIP *scip, int nvars, SCIP_VAR **vars, SCIP_Real *lbs, SCIP_Real *ubs) |
SCIP_EXPORT SCIP_RETCODE | SCIPsolveDiveNLP (SCIP *scip) |
Function Documentation
◆ SCIPstartDiveNLP()
SCIP_EXPORT SCIP_RETCODE SCIPstartDiveNLP | ( | SCIP * | scip | ) |
initiates NLP diving making methods SCIPchgVarObjDiveNLP(), SCIPchgVarBoundsDiveNLP(), SCIPchgVarsBoundsDiveNLP(), and SCIPsolveDiveNLP() available
- Returns
- SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
- Precondition
- This method can be called if SCIP is in one of the following stages:
- Parameters
-
scip SCIP data structure
Definition at line 988 of file scip_nlp.c.
References FALSE, Scip::nlp, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPblkmem(), SCIPcheckStage(), SCIPerrorMessage, SCIPnlpStartDive(), Scip::set, and TRUE.
Referenced by getFixingValue().
◆ SCIPendDiveNLP()
SCIP_EXPORT SCIP_RETCODE SCIPendDiveNLP | ( | SCIP * | scip | ) |
ends NLP diving
Resets changes made by SCIPchgVarObjDiveNLP(), SCIPchgVarBoundsDiveNLP(), and SCIPchgVarsBoundsDiveNLP().
- Returns
- SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
- Precondition
- This method can be called if SCIP is in one of the following stages:
- Parameters
-
scip SCIP data structure
Definition at line 1016 of file scip_nlp.c.
References FALSE, Scip::nlp, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPblkmem(), SCIPcheckStage(), SCIPerrorMessage, SCIPnlpEndDive(), Scip::set, and TRUE.
Referenced by SCIPapplyUndercover().
◆ SCIPchgVarObjDiveNLP()
SCIP_EXPORT SCIP_RETCODE SCIPchgVarObjDiveNLP | ( | SCIP * | scip, |
SCIP_VAR * | var, | ||
SCIP_Real | coef | ||
) |
changes linear objective coefficient of a variable in diving NLP
- Returns
- SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
- Precondition
- This method can be called if SCIP is in one of the following stages:
- Parameters
-
scip SCIP data structure var variable which coefficient to change coef new value for coefficient
Definition at line 1042 of file scip_nlp.c.
References FALSE, Scip::nlp, NULL, SCIP_Var::scip, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPblkmem(), SCIPcheckStage(), SCIPerrorMessage, SCIPnlpChgVarObjDive(), Scip::set, Scip::stat, and TRUE.
◆ SCIPchgVarBoundsDiveNLP()
SCIP_EXPORT SCIP_RETCODE SCIPchgVarBoundsDiveNLP | ( | SCIP * | scip, |
SCIP_VAR * | var, | ||
SCIP_Real | lb, | ||
SCIP_Real | ub | ||
) |
changes bounds of a variable in diving NLP
- Returns
- SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
- Precondition
- This method can be called if SCIP is in one of the following stages:
- Parameters
-
scip SCIP data structure var variable which bounds to change lb new lower bound ub new upper bound
Definition at line 1072 of file scip_nlp.c.
References FALSE, Scip::nlp, NULL, SCIP_Var::scip, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPcheckStage(), SCIPerrorMessage, SCIPnlpChgVarBoundsDive(), and TRUE.
Referenced by getFixingValue().
◆ SCIPchgVarsBoundsDiveNLP()
SCIP_EXPORT SCIP_RETCODE SCIPchgVarsBoundsDiveNLP | ( | SCIP * | scip, |
int | nvars, | ||
SCIP_VAR ** | vars, | ||
SCIP_Real * | lbs, | ||
SCIP_Real * | ubs | ||
) |
changes bounds of a set of variables in diving NLP
- Returns
- SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
- Precondition
- This method can be called if SCIP is in one of the following stages:
- Parameters
-
scip SCIP data structure nvars number of variables which bounds to changes vars variables which bounds to change lbs new lower bounds ubs new upper bounds
Definition at line 1103 of file scip_nlp.c.
References FALSE, Scip::nlp, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPcheckStage(), SCIPerrorMessage, SCIPnlpChgVarsBoundsDive(), Scip::set, and TRUE.
◆ SCIPsolveDiveNLP()
SCIP_EXPORT SCIP_RETCODE SCIPsolveDiveNLP | ( | SCIP * | scip | ) |
solves diving NLP
- Returns
- SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
- Precondition
- This method can be called if SCIP is in one of the following stages:
- Parameters
-
scip SCIP data structure
Definition at line 1133 of file scip_nlp.c.
References FALSE, Scip::messagehdlr, Scip::nlp, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPblkmem(), SCIPcheckStage(), SCIPerrorMessage, SCIPnlpSolveDive(), Scip::set, Scip::stat, and TRUE.
Referenced by getFixingValue().