methods to initiate and conduct NLP Diving
Functions | |
SCIP_RETCODE | SCIPstartDiveNLP (SCIP *scip) |
SCIP_RETCODE | SCIPendDiveNLP (SCIP *scip) |
SCIP_RETCODE | SCIPchgVarObjDiveNLP (SCIP *scip, SCIP_VAR *var, SCIP_Real coef) |
SCIP_RETCODE | SCIPchgVarBoundsDiveNLP (SCIP *scip, SCIP_VAR *var, SCIP_Real lb, SCIP_Real ub) |
SCIP_RETCODE | SCIPchgVarsBoundsDiveNLP (SCIP *scip, int nvars, SCIP_VAR **vars, SCIP_Real *lbs, SCIP_Real *ubs) |
SCIP_RETCODE SCIPstartDiveNLP | ( | SCIP * | scip | ) |
initiates NLP diving
Makes functions SCIPchgVarObjDiveNLP(), SCIPchgVarBoundsDiveNLP() and SCIPchgVarsBoundsDiveNLP() available. Further, SCIPsolveNLP() can be used to solve the diving NLP.
scip | SCIP data structure |
Definition at line 802 of file scip_nlp.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPblkmem(), SCIPcheckStage(), SCIPerrorMessage, SCIPnlpStartDive(), and TRUE.
Referenced by getFixingValue().
SCIP_RETCODE SCIPendDiveNLP | ( | SCIP * | scip | ) |
ends NLP diving
Resets changes made by SCIPchgVarObjDiveNLP(), SCIPchgVarBoundsDiveNLP(), and SCIPchgVarsBoundsDiveNLP().
scip | SCIP data structure |
Definition at line 830 of file scip_nlp.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPblkmem(), SCIPcheckStage(), SCIPerrorMessage, SCIPnlpEndDive(), and TRUE.
Referenced by SCIPapplyUndercover().
SCIP_RETCODE SCIPchgVarObjDiveNLP | ( | SCIP * | scip, |
SCIP_VAR * | var, | ||
SCIP_Real | coef ) |
changes linear objective coefficient of a variable in diving NLP
scip | SCIP data structure |
var | variable which coefficient to change |
coef | new value for coefficient |
Definition at line 856 of file scip_nlp.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIPblkmem(), SCIPcheckStage(), SCIPerrorMessage, SCIPnlpChgVarObjDive(), TRUE, and var.
SCIP_RETCODE SCIPchgVarBoundsDiveNLP | ( | SCIP * | scip, |
SCIP_VAR * | var, | ||
SCIP_Real | lb, | ||
SCIP_Real | ub ) |
changes bounds of a variable in diving NLP
scip | SCIP data structure |
var | variable which bounds to change |
lb | new lower bound |
ub | new upper bound |
Definition at line 886 of file scip_nlp.c.
References assert(), FALSE, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIPcheckStage(), SCIPerrorMessage, SCIPnlpChgVarBoundsDive(), TRUE, and var.
Referenced by getFixingValue().
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
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 917 of file scip_nlp.c.
References FALSE, NULL, nvars, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIPcheckStage(), SCIPerrorMessage, SCIPnlpChgVarsBoundsDive(), TRUE, and vars.