# TOMVIEW  
# REGISTER (TOMVIEW)
# LOGIN  
# myTOMVIEW
TOMLAB LOGO

« Previous « Start » Next »

8  QPCON Problem

When solving a problem with a quadratic objective and nonlinear constraints TOMVIEW automatically supplies objective derivatives (gradient and Hessian) if qpconAssign is used.

The quadratic constrained nonlinear programming problem is defined as:

 
min
x
f(x) =
1
2
xT F x + dT x
   
s/t
xL x xU
bL A x bU
cL c(x) cU
    (10)
where x, xL, xU, d ∈ Rn, F ∈ Rn × n, f(x) ∈ R, A ∈ Rm1 × n, bL,bU ∈ Rm1 and cL,c(x),cU ∈ Rm2.

The following files define and solve an example problem in TOMLAB.

File: quickguide/qpconQG.vi, qpconQG_c.vi, qpconQG_dc.vi, qpcon_d2c.vi
  c:   Nonlinear constraint vector
  dc:  Nonlinear constraint gradient matrix
  d2c: The second part of the Hessian to the Lagrangian function for the nonlinear constraints.
The following file illustrates how to solve this QPCON (QP-NLP) problem in TOMVIEW. Also view the other VI's specified above for more information.
It is possible to change the output displayed by expanding the cluster in the block diagram.

« Previous « Start » Next »