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 9417 of file scip.c.
References checkStage(), FALSE, Scip::messagehdlr, NULL, paramname, SCIP_CALL, SCIP_INVALIDDATA, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPaddIntParam(), SCIPerrorMessage, SCIPfindNlpi(), SCIPnlpiGetName(), SCIPnlpiGetPriority(), SCIPnlpiSetMessageHdlr(), SCIPsetIncludeNlpi(), SCIPsnprintf(), Scip::set, and TRUE.
Referenced by SCIPincludeDefaultPlugins(), and SCIPsetCopyPlugins().
returns the NLPI of the given name, or NULL if not existing
scip | SCIP data structure |
name | name of NLPI |
Definition at line 9453 of file scip.c.
References NULL, SCIPsetFindNlpi(), and Scip::set.
Referenced by SCIPincludeNlpi().
returns the array of currently available NLPIs (sorted by priority)
scip | SCIP data structure |
Definition at line 9466 of file scip.c.
References SCIP_Set::nlpis, NULL, SCIPsetSortNlpis(), and Scip::set.
Referenced by applyNlobbt(), computeInteriorPoint(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
int SCIPgetNNlpis | ( | SCIP * | scip | ) |
returns the number of currently available NLPIs
scip | SCIP data structure |
Definition at line 9479 of file scip.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_PROPEXEC(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPapplyHeurDualval(), SCIPapplyUndercover(), 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 9490 of file scip.c.
References NULL, SCIP_OKAY, SCIPsetSetPriorityNlpi(), and Scip::set.
Referenced by SCIP_DECL_PARAMCHGD().