Scippy

SCIP

Solving Constraint Integer Programs

reader_cor.h File Reference

Detailed Description

COR file reader (MPS format of the core problem for stochastic programs)

Author
Stephen J. Maher

This is a reader for the core file 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.

The core file is in the form of an MPS.

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_cor.h.

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

Go to the source code of this file.

Functions

SCIP_RETCODE SCIPincludeReaderCor (SCIP *scip)
 
SCIP_RETCODE SCIPreadCor (SCIP *scip, const char *filename, SCIP_RESULT *result)
 
SCIP_Bool SCIPcorHasRead (SCIP_READER *reader)
 
int SCIPcorGetNVarNames (SCIP_READER *reader)
 
int SCIPcorGetNConsNames (SCIP_READER *reader)
 
const char * SCIPcorGetVarName (SCIP_READER *reader, int i)
 
const char * SCIPcorGetConsName (SCIP_READER *reader, int i)