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) |
SCIP_RETCODE SCIPincludeNlpi | ( | SCIP * | scip, |
SCIP_NLPI * | nlpi | ||
) |
includes an NLPI in SCIP
scip | SCIP data structure |
nlpi | NLPI data structure |
Definition at line 9540 of file scip.c.
References checkStage(), FALSE, Scip::messagehdlr, SCIP_CALL, SCIP_INVALIDDATA, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPaddIntParam(), SCIPerrorMessage, SCIPfindNlpi(), SCIPnlpiGetName(), SCIPnlpiGetPriority(), SCIPnlpiSetMessageHdlr(), SCIPsetIncludeNlpi(), SCIPsnprintf(), Scip::set, and TRUE.
Referenced by SCIPincludeDefaultPlugins().
returns the NLPI of the given name, or NULL if not existing
scip | SCIP data structure |
name | name of NLPI |
Definition at line 9576 of file scip.c.
References SCIPsetFindNlpi(), and Scip::set.
Referenced by SCIPincludeNlpi().
returns the array of currently available NLPIs (sorted by priority)
scip | SCIP data structure |
Definition at line 9589 of file scip.c.
References SCIP_Set::nlpis, SCIPsetSortNlpis(), and Scip::set.
Referenced by applyNlobbt(), computeInteriorPoint(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPincludeDefaultPlugins(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
int SCIPgetNNlpis | ( | SCIP * | scip | ) |
returns the number of currently available NLPIs
scip | SCIP data structure |
Definition at line 9602 of file scip.c.
References SCIP_Set::nnlpis, 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().
SCIP_RETCODE SCIPsetNlpiPriority | ( | SCIP * | scip, |
SCIP_NLPI * | nlpi, | ||
int | priority | ||
) |
sets the priority of an NLPI
scip | SCIP data structure |
nlpi | NLPI |
priority | new priority of the NLPI |
Definition at line 9613 of file scip.c.
References SCIP_OKAY, SCIPsetSetPriorityNlpi(), and Scip::set.
Referenced by SCIP_DECL_PARAMCHGD().