Options Class Reference

#include <options.hpp>

Collaboration diagram for Options:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Options (const Iterate &x, Ipopt::IpoptApplication &app, const mxArray *ptr)
 ~Options ()
const double * lowerbounds () const
const double * upperbounds () const
const double * constraintlb () const
const double * constraintub () const
const mxArray * getAuxData () const
const IpoptOptions ipoptOptions () const
const double * multlb () const
const double * multub () const
const double * multconstr () const

Static Protected Member Functions

static double * loadLowerBounds (int n, const mxArray *ptr, double neginfty)
static double * loadUpperBounds (int n, const mxArray *ptr, double posinfty)
static int loadConstraintBounds (const mxArray *ptr, double *&cl, double *&cu, double neginfty, double posinfty)
static void loadMultipliers (int n, int m, const mxArray *ptr, double *&zl, double *&zu, double *&lambda)

Protected Attributes

int n
int m
double * lb
double * ub
double * cl
double * cu
double * zl
double * zu
double * lambda
const mxArray * auxdata
IpoptOptions ipopt

Friends

int numvars (const Options &options)
int numconstraints (const Options &options)

Detailed Description

Definition at line 19 of file options.hpp.


Constructor & Destructor Documentation

Options::Options ( const Iterate x,
Ipopt::IpoptApplication app,
const mxArray *  ptr 
)

Options::~Options (  ) 


Member Function Documentation

const double* Options::lowerbounds (  )  const [inline]

Definition at line 37 of file options.hpp.

References lb.

const double* Options::upperbounds (  )  const [inline]

Definition at line 38 of file options.hpp.

References ub.

const double* Options::constraintlb (  )  const [inline]

Definition at line 39 of file options.hpp.

References cl.

const double* Options::constraintub (  )  const [inline]

Definition at line 40 of file options.hpp.

References cu.

const mxArray* Options::getAuxData (  )  const [inline]

Definition at line 43 of file options.hpp.

References auxdata.

const IpoptOptions Options::ipoptOptions (  )  const [inline]

Definition at line 46 of file options.hpp.

References ipopt.

const double* Options::multlb (  )  const [inline]

Definition at line 49 of file options.hpp.

References zl.

const double* Options::multub (  )  const [inline]

Definition at line 50 of file options.hpp.

References zu.

const double* Options::multconstr (  )  const [inline]

Definition at line 51 of file options.hpp.

static double* Options::loadLowerBounds ( int  n,
const mxArray *  ptr,
double  neginfty 
) [static, protected]

static double* Options::loadUpperBounds ( int  n,
const mxArray *  ptr,
double  posinfty 
) [static, protected]

static int Options::loadConstraintBounds ( const mxArray *  ptr,
double *&  cl,
double *&  cu,
double  neginfty,
double  posinfty 
) [static, protected]

static void Options::loadMultipliers ( int  n,
int  m,
const mxArray *  ptr,
double *&  zl,
double *&  zu,
double *&  lambda 
) [static, protected]


Friends And Related Function Documentation

int numvars ( const Options options  )  [friend]

Definition at line 33 of file options.hpp.

int numconstraints ( const Options options  )  [friend]

Definition at line 34 of file options.hpp.


Member Data Documentation

int Options::n [protected]

Definition at line 51 of file options.hpp.

int Options::m [protected]

Definition at line 55 of file options.hpp.

double* Options::lb [protected]

Definition at line 56 of file options.hpp.

Referenced by lowerbounds().

double* Options::ub [protected]

Definition at line 57 of file options.hpp.

Referenced by upperbounds().

double* Options::cl [protected]

Definition at line 58 of file options.hpp.

Referenced by constraintlb().

double* Options::cu [protected]

Definition at line 59 of file options.hpp.

Referenced by constraintub().

double* Options::zl [protected]

Definition at line 60 of file options.hpp.

Referenced by multlb().

double* Options::zu [protected]

Definition at line 61 of file options.hpp.

Referenced by multub().

double* Options::lambda [protected]

Definition at line 62 of file options.hpp.

const mxArray* Options::auxdata [protected]

Definition at line 63 of file options.hpp.

Referenced by getAuxData().

IpoptOptions Options::ipopt [protected]

Definition at line 64 of file options.hpp.

Referenced by ipoptOptions().


The documentation for this class was generated from the following file:
Generated on Thu Dec 23 03:11:45 2010 by  doxygen 1.4.7