reader_lp.h File Reference
Detailed Description
LP file reader.
This reader allows to parse and write CPLEX .lp files with linear and quadratic constraints and objective, special ordered sets of type 1 and 2, indicators on linear constraints, and semicontinuous variables. For writing, linear (general and specialized), indicator, quadratic, second order cone, and special ordered set constraints are supported.
The lp format is defined within the CPLEX documentation.
Definition in file reader_lp.h.
#include "scip/def.h"
#include "scip/type_cons.h"
#include "scip/type_prob.h"
#include "scip/type_reader.h"
#include "scip/type_result.h"
#include "scip/type_retcode.h"
#include "scip/type_scip.h"
#include "scip/type_var.h"
Go to the source code of this file.
Functions | |
SCIP_EXPORT SCIP_RETCODE | SCIPincludeReaderLp (SCIP *scip) |
SCIP_EXPORT SCIP_RETCODE | SCIPreadLp (SCIP *scip, SCIP_READER *reader, const char *filename, SCIP_RESULT *result) |
SCIP_EXPORT SCIP_RETCODE | SCIPwriteLp (SCIP *scip, FILE *file, const char *name, SCIP_Bool transformed, SCIP_OBJSENSE objsense, SCIP_Real objscale, SCIP_Real objoffset, SCIP_VAR **vars, int nvars, int nbinvars, int nintvars, int nimplvars, int ncontvars, SCIP_CONS **conss, int nconss, SCIP_RESULT *result) |