CPLEX Test Routines in TOMLAB Format
From TomWiki
Jump to navigationJump to search
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. |