CPLEX cpxTest3

From TomWiki
Jump to navigationJump to search

Notice.png

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

Purpose

Test routine 3, calls CPLEX Matlab level 1 interface to solve a GAP problem.

Calling Syntax

x = cpxTest3

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 [1, 9.6, pp159]. In this test the linear sos1 constraints are defined explicitly.

Given the matrices A (constraints) and C (costs), cpxTest1 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 no cut strategy is used.

M-files Used

abc2gap.m, cplex.m

See Also

cpxTest2