CPLEX cpxTest1
From TomWiki
Jump to navigationJump to search
This page is part of the CPLEX Manual. See CPLEX. |
Purpose
Test routine 1, calls CPLEX Matlab level 1 interface to solve a GAP problem.
Calling Syntax
x = cpxTest1
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 the linear sos1 constraints are defined explicitly.
Given the matrices A (constraints) and C (costs), cxpTest1 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.
M-files Used
abc2gap.m,cplex.m