Scippy

SCIP

Solving Constraint Integer Programs

reader_mst.h File Reference

Detailed Description

file reader for partial primal solutions

Author
Jakob Witzig

This reader handles solutions in two formats:

  • SCIP raw format
    The format is as follows:

    line 1: "solution status: <status>"
    line 2: "objective value: <value>"
    line 3+i: <variable name> <value> (obj: <objective coefficient of variable>)

    Only known values need to be listed.
    Example:
    solution status: optimal
    objective value: 1
    x1 1 (obj:1)
    x2 1 (obj:0)
  • XML format
    This format is used by CPLEX, for example. For reading we require a section of <variables>. Each entry in this section consists of
    <variable name="<name>" index="<number>" value="<value>"/>
    Example:
    <?xml version = "1.0" standalone="yes"?>
    <variables>
    <variable name="x1" index="1" value="1"/>
    <variable name="x2" index="2" value="1"/>
    </variables>
    </xml>

Definition in file reader_mst.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_RETCODE SCIPincludeReaderMst (SCIP *scip)