Detailed Description
AMPL .nl file reader.
Definition in file reader_nl.h.
#include "scip/scip.h"
Go to the source code of this file.
Functions | |
SCIP_RETCODE | SCIPincludeReaderNl (SCIP *scip) |
SCIP_RETCODE | SCIPwriteSolutionNl (SCIP *scip) |
Function Documentation
◆ SCIPincludeReaderNl()
SCIP_RETCODE SCIPincludeReaderNl | ( | SCIP * | scip | ) |
includes the .nl file reader into SCIP
includes the AMPL .nl file reader in SCIP
- Parameters
-
scip SCIP data structure
Definition at line 1395 of file reader_nl.cpp.
References NULL, READER_DESC, READER_EXTENSION, READER_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludeExternalCodeInformation(), SCIPincludeReaderBasic(), SCIPsetReaderCopy(), and SCIPsetReaderRead().
Referenced by SCIP_DECL_READERCOPY(), and SCIPincludeDefaultPlugins().
◆ SCIPwriteSolutionNl()
SCIP_RETCODE SCIPwriteSolutionNl | ( | SCIP * | scip | ) |
writes AMPL solution file
problem must have been read with .nl reader
- Parameters
-
scip SCIP data structure
Definition at line 1418 of file reader_nl.cpp.
References NULL, SCIP_CALL, SCIP_ERROR, SCIP_INVALID, SCIP_INVALIDDATA, SCIP_OBJSENSE_MINIMIZE, SCIP_OKAY, SCIP_Real, SCIP_STAGE_SOLVED, SCIP_STATUS_BESTSOLLIMIT, SCIP_STATUS_GAPLIMIT, SCIP_STATUS_INFEASIBLE, SCIP_STATUS_INFORUNBD, SCIP_STATUS_MEMLIMIT, SCIP_STATUS_NODELIMIT, SCIP_STATUS_OPTIMAL, SCIP_STATUS_SOLLIMIT, SCIP_STATUS_STALLNODELIMIT, SCIP_STATUS_TIMELIMIT, SCIP_STATUS_TOTALNODELIMIT, SCIP_STATUS_UNBOUNDED, SCIP_STATUS_UNKNOWN, SCIP_STATUS_USERINTERRUPT, SCIP_WRITEERROR, SCIPconsGetHdlr(), SCIPconshdlrGetName(), SCIPdebug, SCIPerrorMessage, SCIPgetBestSol(), SCIPgetDualsolLinear(), SCIPgetObjsense(), SCIPgetProbData(), SCIPgetSolVal(), SCIPgetStage(), SCIPgetStatus(), SCIPgetTransformedCons(), SCIPhasPerformedPresolve(), SCIPinfoMessage(), SCIPprintSol(), SCIPprintStatus(), and TRUE.
Referenced by fromAmpl().