CPLEX cpxTestQP1
From TomWiki
Jump to navigationJump to search
This page is part of the CPLEX Manual. See CPLEX. |
Purpose
Simple test of calling CPLEX Matlab level 1 interface to solve a QP problem.
Calling Syntax
x = cpxTestQP1(MIP,DEFPARAM)
Description of Input
Input | Description |
---|---|
MIP | If MIP = 1, run as a MIQP problem, trying to make the third variable integer valued.
Otherwise run as a pure QP problem. Default M I P = 0. |
DEFPARAM | If 1, use default CPLEX parameters for fastest execution.
If 0, disable cuts and presolve for slower execution. |
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
Simple test of calling CPLEX Matlab level 1 interface to solve a QP or MIQP problem. The problem is
M-files Used
cplex.m