16.01.2015 Views

GAMS — The Solver Manuals - Available Software

GAMS — The Solver Manuals - Available Software

GAMS — The Solver Manuals - Available Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

108 COIN-OR<br />

6.2 Usage of CoinScip<br />

<strong>The</strong> following statement can be used inside your <strong>GAMS</strong> program to specify using CoinScip<br />

Option MIP = CoinScip; { or LP or RMIP }<br />

<strong>The</strong> above statement should appear before the Solve statement. If CoinScip was specified as the default solver<br />

during <strong>GAMS</strong> installation, the above statement is not necessary.<br />

<strong>GAMS</strong>/CoinScip now support the <strong>GAMS</strong> Branch-and-Cut-and-Heuristic (BCH) Facility. <strong>The</strong> <strong>GAMS</strong> BCH facility<br />

automates all major steps necessary to define, execute, and control the use of user defined routines within the<br />

framework of general purpose MIP codes. Currently supported are user defined cut generators and heuristics and<br />

the incumbent reporting callback. Please see the BCH documentation at http://www.gams.com/docs/bch.htm<br />

for further information.<br />

Information on the use of BCH callback routines is displayed in an extra column in the SCIP iteration output.<br />

<strong>The</strong> first number in this column (below the “BCH” in the header) is the number of callbacks to <strong>GAMS</strong> models<br />

that have been made so far (accumulated from cutgeneration, heuristic, and incumbent callbacks). <strong>The</strong> number<br />

below “cut” or “cuts” gives the number of cutting planes that have been generated by the users cutgenerator.<br />

Finally, the number below “sol” or “sols” gives the number of primal solutions that have been generated by the<br />

users heuristic. If SCIP accepts a heuristic solution as new incumbent solution, it prints a ‘G’ in the first column<br />

of the iteration output.<br />

6.3 Specification of CoinScip Options<br />

<strong>GAMS</strong>/CoinScip currently supports the <strong>GAMS</strong> parameters reslim, iterlim, nodlim, optcr, and optca.<br />

Further, for a MIP solve the user can specify options by a SCIP options file. A SCIP options file consists of one<br />

option or comment per line. A pound sign (#) at the beginning of a line causes the entire line to be ignored.<br />

Otherwise, the line will be interpreted as an option name and value separated by an equal sign (=) and any<br />

amount of white space (blanks or tabs). Further, string values have to be enclosed in quotation marks.<br />

A small example for a coinscip.opt file is:<br />

separating/maxrounds = 0<br />

separating/maxroundsroot = 0<br />

gams/solvefinal<br />

= FALSE<br />

gams/usercutcall = "bchcutgen.gms"<br />

It causes <strong>GAMS</strong>/CoinScip to turn off all cut generators, to skip the final solve of the MIP with fixed discrete<br />

variables, and to use a user defined cut generator.<br />

6.4 Description of CoinScip options<br />

SCIP supports a large set of options. Sample option files can be obtained from<br />

http://www.gams.com/~svigerske/scip<br />

Further, there is a set of options that are specific to the <strong>GAMS</strong>/CoinScip interface, most of them for control of<br />

the <strong>GAMS</strong> BCH facility.<br />

gams/names (integer)<br />

This option causes <strong>GAMS</strong> names for the variables and equations to be loaded into SCIP. <strong>The</strong>se names will<br />

then be used for error messages, log entries, and so forth. Turning names off may help if memory is very<br />

tight.<br />

(default = 0)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!