CPLEX cpxTestQP1

From TomWiki
Revision as of 08:03, 16 August 2011 by Elias (talk | contribs) (Created page with "{{Part Of Manual|title=the CPLEX Manual|link=CPLEX}} ==Purpose== Simple test of calling CPLEX Matlab level 1 interface to solve a QP problem. ==Calling Syntax== <pre...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Notice.png

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