HQP  1.9.6
Hqp_Program Class Reference

Optimization program for sparse quadratic programming. More...

#include <Hqp_Program.h>

Public Member Functions

 Hqp_Program ()
 constructor
 
 ~Hqp_Program ()
 destructor
 
void resize (int n, int me, int m, int el_n=0, int el_me=0, int el_m=0)
 change size of optimization program
 
void foutput (FILE *fp)
 dump optimization program to FILE
 

Public Attributes

VECP x
 optimization variables
 
IVECP x_flags
 classification of variables
 
IVECP x_int
 mark integer variables with values > 0
 
SPMATP Q
 criterion: 1/2 x'Qx + c'x -> min
 
VECP c
 linear term of criterion
 
SPMATP A
 equality constraints: Ax + b = 0
 
VECP b
 constant term of equality constraints
 
SPMATP C
 inequality constraints: Cx + d >= 0
 
VECP d
 constant term of inequality constraints
 

Static Public Attributes

flags for variables
static const int IS_LOCAL
 local variable of nonlinear group
 
static const int IS_SLACK
 slack variable
 

Detailed Description

Optimization program for sparse quadratic programming.


The documentation for this class was generated from the following file: