CPLEX cpxTest2
From TomWiki
Jump to navigationJump to search
This page is part of the CPLEX Manual. See CPLEX. |
Purpose
Test routine 2, calls CPLEX Matlab level 1 interface to solve a GAP problem.
Calling Syntax
x = cpxTest2
Global Parameters Used
Parameter | Description |
---|---|
MAX_x | Maximal number of x elements printed in output statements. Default 20. |
MAX_c | Maximal number of constraint elements printed in output statements. Default 20. |
Description
Running a generalized assignment problem (GAP) from Wolsey. In this test sos1 variables are used.
Given the matrices A (constraints) and C (costs), cpxTest2 is using the utility abc2gap to reformulate the problem into the standard form suitable for CPLEX.
The number of iterations are increased, no presolve is used, and an aggressive cut strategy is applied.
M-files Used
abc2gap.m, cplex.m
See Also
cpxTest3.m