Detailed Description
methods for the management of NLP interfaces
Functions | |
SCIP_EXPORT SCIP_RETCODE | SCIPincludeNlpi (SCIP *scip, SCIP_NLPI *nlpi) |
SCIP_EXPORT SCIP_NLPI * | SCIPfindNlpi (SCIP *scip, const char *name) |
SCIP_EXPORT SCIP_NLPI ** | SCIPgetNlpis (SCIP *scip) |
SCIP_EXPORT int | SCIPgetNNlpis (SCIP *scip) |
SCIP_EXPORT SCIP_RETCODE | SCIPsetNlpiPriority (SCIP *scip, SCIP_NLPI *nlpi, int priority) |
Function Documentation
◆ SCIPincludeNlpi()
SCIP_EXPORT 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 70 of file scip_nlp.c.
References FALSE, Scip::messagehdlr, NULL, paramname, SCIP_CALL, SCIP_INVALIDDATA, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPaddIntParam(), SCIPcheckStage(), SCIPerrorMessage, SCIPfindNlpi(), SCIPnlpiGetName(), SCIPnlpiGetPriority(), SCIPnlpiSetMessageHdlr(), SCIPsetIncludeNlpi(), SCIPsnprintf(), Scip::set, and TRUE.
Referenced by SCIPincludeDefaultPlugins(), and SCIPsetCopyPlugins().
◆ SCIPfindNlpi()
SCIP_EXPORT SCIP_NLPI* SCIPfindNlpi | ( | SCIP * | scip, |
const char * | name | ||
) |
returns the NLPI of the given name, or NULL if not existing
- Parameters
-
scip SCIP data structure name name of NLPI
Definition at line 106 of file scip_nlp.c.
References NULL, SCIPsetFindNlpi(), and Scip::set.
Referenced by createSubSCIP(), and SCIPincludeNlpi().
◆ SCIPgetNlpis()
SCIP_EXPORT SCIP_NLPI** SCIPgetNlpis | ( | SCIP * | scip | ) |
returns the array of currently available NLPIs (sorted by priority)
- Parameters
-
scip SCIP data structure
Definition at line 119 of file scip_nlp.c.
References SCIP_Set::nlpis, NULL, SCIPsetSortNlpis(), and Scip::set.
Referenced by applyNlobbt(), computeInteriorPoint(), createAuxiliaryNonlinearSubproblem(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPincludeDefaultPlugins(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
◆ SCIPgetNNlpis()
SCIP_EXPORT int SCIPgetNNlpis | ( | SCIP * | scip | ) |
returns the number of currently available NLPIs
- Parameters
-
scip SCIP data structure
Definition at line 132 of file scip_nlp.c.
References SCIP_Set::nnlpis, NULL, and Scip::set.
Referenced by applyNlobbt(), checkSubproblemConvexity(), computeInteriorPoint(), createSubSCIP(), generateAndApplyBendersCuts(), runHeuristic(), SCIP_DECL_BENDERSCUTEXEC(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_PROPEXEC(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPapplyHeurDualval(), SCIPapplyUndercover(), SCIPbendersComputeSubproblemLowerbound(), SCIPbendersSolSlackVarsActive(), SCIPbendersSolveSubproblemLP(), SCIPgenerateAndApplyBendersOptCut(), SCIPincludeDefaultPlugins(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
◆ SCIPsetNlpiPriority()
SCIP_EXPORT 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 143 of file scip_nlp.c.
References NULL, SCIP_OKAY, SCIPsetSetPriorityNlpi(), and Scip::set.
Referenced by SCIP_DECL_PARAMCHGD().