Scippy

SCIP

Solving Constraint Integer Programs

reader_pip.h File Reference

Detailed Description

file reader for polynomial mixed-integer programs in PIP format

Author
Stefan Vigerske

This reader allows to parse and write PIP files with linear and polynomial constraints and objective. For writing, linear (general and specialized), quadratic, and "and" constraints are supported. Also abspower, bivariate, and nonlinear constraints may be written, if they are representable as polynomials.

The PIP format is similar to the LP format and defined at http://polip.zib.de/pipformat.php .

Definition in file reader_pip.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 SCIPincludeReaderPip (SCIP *scip)
 
SCIP_EXPORT SCIP_RETCODE SCIPreadPip (SCIP *scip, SCIP_READER *reader, const char *filename, SCIP_RESULT *result)
 
SCIP_EXPORT SCIP_RETCODE SCIPwritePip (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)