CPLEX Test Routines in TOMLAB Format: Difference between revisions
From TomWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Part Of Manual|title=the CPLEX Manual|link=[[CPLEX|CPLEX]]}} | {{Part Of Manual|title=the CPLEX Manual|link=[[CPLEX|CPLEX]]}} | ||
A set of test routines have been defined illustrating the combined use of TOMLAB and CPLEX. The test routines are shown in | 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==== | |||
{| class="wikitable" | {| class="wikitable" | ||
!Function | !Function | ||
Line 13: | Line 14: | ||
|[[CPLEX Appendix C#cpxKnapsTL|cpxKnapsTL]]||The same tests as in ''cpxKnaps'', but the TOMLAB problem definition format and is used. | |[[CPLEX Appendix C#cpxKnapsTL|cpxKnapsTL]]||The same tests as in ''cpxKnaps'', but the TOMLAB problem definition format and is used. | ||
|} | |} | ||
Latest revision as of 14:10, 21 January 2012
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. |