Scippy

SCIP

Solving Constraint Integer Programs

reader_mps.h File Reference

Detailed Description

(extended) MPS file reader

Author
Thorsten Koch
Tobias Achterberg

This reader allows to parse and write MPS 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.

See http://en.wikipedia.org/wiki/MPS_%28format%29 for a description.

Definition in file reader_mps.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_RETCODE SCIPincludeReaderMps (SCIP *scip)
 
SCIP_RETCODE SCIPreadMps (SCIP *scip, SCIP_READER *reader, const char *filename, SCIP_RESULT *result, const char ***varnames, const char ***consnames, int *varnamessize, int *consnamessize, int *nvarnames, int *nconsnames)
 
SCIP_RETCODE SCIPwriteMps (SCIP *scip, SCIP_READER *reader, 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_VAR **fixedvars, int nfixedvars, SCIP_CONS **conss, int nconss, SCIP_RESULT *result)