Solving Constraint Integer Programs

reader_gms.h File Reference

Detailed Description

GAMS file reader and writer.

Ambros Gleixner

This reader writes a CIP in GAMS format. It can write all kinds of linear and nonlinear constraints (as occurring in MINLPs) and indicator constraints.

If SCIP has been compiled with GAMS=true, it can also read GAMS model instances. This requires a working GAMS system.

Definition in file reader_gms.h.

#include "scip/def.h"
#include "scip/type_cons.h"
#include "scip/type_prob.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.


SCIP_RETCODE SCIPincludeReaderGms (SCIP *scip)
SCIP_RETCODE SCIPwriteGms (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)