Scippy

SCIP

Solving Constraint Integer Programs

reader_sto.h File Reference

Detailed Description

STO file reader - the stochastic information of an instance in SMPS format.

Author
Stephen J. Maher

This is a reader for the stochastic information of a stochastic programming instance in SMPS format. The three files that must be read are:

  • .cor
  • .tim
  • .sto

Alternatively, it is possible to create a .smps file with the relative path to the .cor, .tim and .sto files. A file reader is available for the .smps file.

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

Definition in file reader_sto.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.

Functions

SCIP_EXPORT SCIP_RETCODE SCIPincludeReaderSto (SCIP *scip)
 
SCIP_EXPORT SCIP_RETCODE SCIPreadSto (SCIP *scip, const char *filename, SCIP_RESULT *result)
 
SCIP_EXPORT SCIP_RETCODE SCIPwriteSto (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)
 
SCIP_EXPORT int SCIPstoGetNScenarios (SCIP *scip)