Scippy

SCIP

Solving Constraint Integer Programs

reader_smps.h File Reference

Detailed Description

SMPS file reader - SMPS files lists the cor, tim and sto files for a single instance to be read.

Author
Stephen J. Maher

This is a reader for the reading the core, time and stochastic files of a stochastic programming instance in SMPS format. The three files that must be listed in the smps file are:

  • .cor
  • .tim
  • .sto The order of the files is not important. It is just necessary that all three are provided.

Details regarding the SMPS file format can be found at: Birge, J. R.; Dempster, M. A.; Gassmann, H. I.; Gunn, E.; King, A. J. & Wallace, S. W. A standard input format for multiperiod stochastic linear programs IIASA, Laxenburg, Austria, WP-87-118, 1987

An example of an smps file looks as follows.

* this is a comment line
* this is a second comment line
* this is the last comment line
pltexpA2.cor
pltexpA2.tim
pltexpA2_6.sto

Definition in file reader_smps.h.

#include "scip/def.h"
#include "scip/type_retcode.h"
#include "scip/type_scip.h"

Go to the source code of this file.

Functions

SCIP_EXPORT SCIP_RETCODE SCIPincludeReaderSmps (SCIP *scip)