reader_mst.h File Reference
Detailed Description
file reader for partial primal solutions
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: optimalobjective value: 1x1 1 (obj:1)x2 1 (obj:0)
- Example:
- 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>
- Example:
Definition in file reader_mst.h.
Go to the source code of this file.
Functions | |
SCIP_EXPORT SCIP_RETCODE | SCIPincludeReaderMst (SCIP *scip) |