Detailed Description
methods for the management of NLP interfaces
Functions | |
SCIP_RETCODE | SCIPincludeNlpi (SCIP *scip, SCIP_NLPI *nlpi) |
SCIP_NLPI * | SCIPfindNlpi (SCIP *scip, const char *name) |
SCIP_NLPI ** | SCIPgetNlpis (SCIP *scip) |
int | SCIPgetNNlpis (SCIP *scip) |
SCIP_RETCODE | SCIPsetNlpiPriority (SCIP *scip, SCIP_NLPI *nlpi, int priority) |
Function Documentation
◆ SCIPincludeNlpi()
SCIP_RETCODE SCIPincludeNlpi | ( | SCIP * | scip, |
SCIP_NLPI * | nlpi | ||
) |
includes an NLPI in SCIP
- Parameters
-
scip SCIP data structure nlpi NLPI data structure
Definition at line 144 of file scip_nlp.c.
References FALSE, Scip::messagehdlr, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPaddIntParam(), SCIPcheckStage(), SCIPerrorMessage, SCIPfindNlpi(), SCIPnlpiGetName(), SCIPnlpiGetPriority(), SCIPnlpiSetMessageHdlr(), SCIPsetIncludeNlpi(), SCIPsnprintf(), Scip::set, and TRUE.
Referenced by SCIPincludeDefaultPlugins().
◆ SCIPfindNlpi()
returns the NLPI of the given name, or NULL if not existing
- Parameters
-
scip SCIP data structure name name of NLPI
Definition at line 180 of file scip_nlp.c.
References NULL, SCIPsetFindNlpi(), and Scip::set.
Referenced by SCIPincludeNlpi().
◆ SCIPgetNlpis()
returns the array of currently available NLPIs (sorted by priority)
- Parameters
-
scip SCIP data structure
Definition at line 193 of file scip_nlp.c.
References SCIP_Set::nlpis, NULL, SCIPsetSortNlpis(), and Scip::set.
Referenced by applyNlobbt(), computeInteriorPoint(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPincludeDefaultPlugins(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
◆ SCIPgetNNlpis()
int SCIPgetNNlpis | ( | SCIP * | scip | ) |
returns the number of currently available NLPIs
- Parameters
-
scip SCIP data structure
Definition at line 206 of file scip_nlp.c.
References SCIP_Set::nnlpis, NULL, and Scip::set.
Referenced by applyNlobbt(), computeInteriorPoint(), createSubSCIP(), runHeuristic(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_PROPEXEC(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPapplyHeurDualval(), SCIPapplyUndercover(), SCIPincludeDefaultPlugins(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
◆ SCIPsetNlpiPriority()
SCIP_RETCODE SCIPsetNlpiPriority | ( | SCIP * | scip, |
SCIP_NLPI * | nlpi, | ||
int | priority | ||
) |
sets the priority of an NLPI
- Parameters
-
scip SCIP data structure nlpi NLPI priority new priority of the NLPI
Definition at line 217 of file scip_nlp.c.
References NULL, SCIP_OKAY, SCIPsetSetPriorityNlpi(), and Scip::set.
Referenced by SCIP_DECL_PARAMCHGD().