Ipopt::TMINLP::SosInfo Struct Reference

Class to store sos constraints for model. More...

#include <TMINLP.hpp>

List of all members.

Public Member Functions

 SosInfo ()
 default constructor.
 SosInfo (const SosInfo &source)
 Copy constructor.
 ~SosInfo ()
 destructor
void gutsOfDestructor ()
 Reset information.

Public Attributes

int num
 Number of SOS constraints.
char * types
 Type of sos.
int * priorities
 priorities of sos constraints.
Sparse storage of the elements of the SOS constraints.
int numNz
 Total number of non zeroes in SOS constraints.
int * starts
 For 0 <= i < nums, start[i] gives the indice of indices and weights arrays at which the description of constraints i begins.
int * indices
 indices of elements belonging to the SOS.
double * weights
 weights of the elements of the SOS.


Detailed Description

Class to store sos constraints for model.

Definition at line 75 of file TMINLP.hpp.


Constructor & Destructor Documentation

Ipopt::TMINLP::SosInfo::SosInfo (  )  [inline]

default constructor.

Definition at line 96 of file TMINLP.hpp.

Ipopt::TMINLP::SosInfo::SosInfo ( const SosInfo source  )  [inline]

Copy constructor.

Definition at line 100 of file TMINLP.hpp.

References indices, num, numNz, priorities, starts, types, and weights.

Ipopt::TMINLP::SosInfo::~SosInfo (  )  [inline]

destructor

Definition at line 137 of file TMINLP.hpp.

References gutsOfDestructor().


Member Function Documentation

void Ipopt::TMINLP::SosInfo::gutsOfDestructor (  )  [inline]

Reset information.

Definition at line 144 of file TMINLP.hpp.

References indices, num, numNz, priorities, starts, types, and weights.

Referenced by ~SosInfo().


Member Data Documentation

int Ipopt::TMINLP::SosInfo::num

Number of SOS constraints.

Definition at line 78 of file TMINLP.hpp.

Referenced by gutsOfDestructor(), and SosInfo().

char* Ipopt::TMINLP::SosInfo::types

Type of sos.

At present Only type '1' SOS are supported.

Definition at line 80 of file TMINLP.hpp.

Referenced by gutsOfDestructor(), and SosInfo().

int* Ipopt::TMINLP::SosInfo::priorities

priorities of sos constraints.

Definition at line 82 of file TMINLP.hpp.

Referenced by gutsOfDestructor(), and SosInfo().

int Ipopt::TMINLP::SosInfo::numNz

Total number of non zeroes in SOS constraints.

Definition at line 87 of file TMINLP.hpp.

Referenced by gutsOfDestructor(), and SosInfo().

int* Ipopt::TMINLP::SosInfo::starts

For 0 <= i < nums, start[i] gives the indice of indices and weights arrays at which the description of constraints i begins.

Definition at line 89 of file TMINLP.hpp.

Referenced by gutsOfDestructor(), and SosInfo().

int* Ipopt::TMINLP::SosInfo::indices

indices of elements belonging to the SOS.

Definition at line 91 of file TMINLP.hpp.

Referenced by gutsOfDestructor(), and SosInfo().

double* Ipopt::TMINLP::SosInfo::weights

weights of the elements of the SOS.

Definition at line 93 of file TMINLP.hpp.

Referenced by gutsOfDestructor(), and SosInfo().


The documentation for this struct was generated from the following file:
Generated on Fri May 16 21:16:52 2008 for Bonmin by  doxygen 1.4.7