CPLEX Test Routines in TOMLAB Format

From TomWiki
Revision as of 14:10, 21 January 2012 by Elias (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Notice.png

This page is part of the CPLEX Manual. See CPLEX.

A set of test routines have been defined illustrating the combined use of TOMLAB and CPLEX. The test routines are shown in #Table: Test routines. The knapsack test routine cpxKnapsTL is similar to cpxKnaps discussed in the previous subsection. It runs three knapsack test examples. It is possible to change the cut strategy. The problems are setup using the TOMLAB Format.

Table: Test routines

Function Description
cpxtomtest1 Tests of problems predefined in the TOMLAB IF format. LP, QP and MIP problems are solved calling the driver routine tomRun.
cpxtomtest2 Tests of a simple MIP problem defined in the TOMLAB (TQ) format. The problem is solved as an LP and MIP problem, with or without slacks defined. tomRun.
cpxKnapsTL The same tests as in cpxKnaps, but the TOMLAB problem definition format and is used.