PIPS-NLP
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
NlpGen Class Referenceabstract

#include <NlpGen.h>

Inheritance diagram for NlpGen:
ProblemFormulation NlpGenSparse NlpGenStoch sFactory NlpGenSparseWithSolver sFactoryAug sFactoryAugAggregationPrecond

Public Member Functions

virtual Residuals * makeResiduals (Data *prob_in)
 
virtual Variables * makeVariables (Data *prob_in)
 
virtual void joinRHS (OoqpVector &rhs_in, OoqpVector &rhs1_in, OoqpVector &rhs2_in, OoqpVector &rhs3_in)=0
 
virtual void separateVars (OoqpVector &x_in, OoqpVector &y_in, OoqpVector &z_in, OoqpVector &vars_in)=0
 
virtual ~NlpGen ()
 
virtual void joinRHSXSYZ (OoqpVector &rhs_in, OoqpVector &rhs1_in, OoqpVector &rhs2_in, OoqpVector &rhs3_in, OoqpVector &rhs4_in)=0
 
virtual void separateVarsXSYZ (OoqpVector &x_in, OoqpVector &s_in, OoqpVector &y_in, OoqpVector &z_in, OoqpVector &vars_in)=0
 
virtual void copyXSYZ_fromArray (OoqpVector &vec_xsyz, double *array_in, const int nb_col)
 
virtual void copyXSYZ_toArray (OoqpVector &vec_xsyz, double *array_in, const int nb_col)
 
- Public Member Functions inherited from ProblemFormulation
virtual LinearSystem * makeLinsys (Data *prob_in)=0
 
virtual ~ProblemFormulation ()
 

Protected Member Functions

 NlpGen ()
 
 NlpGen (long long nx_, long long my_, long long mz_)
 

Protected Attributes

LinearAlgebraPackage * la
 
long long nx
 
long long my
 
long long mz
 

Constructor & Destructor Documentation

NlpGen::NlpGen ( )
inlineprotected
NlpGen::NlpGen ( long long  nx_,
long long  my_,
long long  mz_ 
)
protected
virtual NlpGen::~NlpGen ( )
inlinevirtual

Member Function Documentation

void NlpGen::copyXSYZ_fromArray ( OoqpVector &  vec_xsyz,
double *  array_in,
const int  nb_col 
)
virtual

Reimplemented in NlpGenSparse.

void NlpGen::copyXSYZ_toArray ( OoqpVector &  vec_xsyz,
double *  array_in,
const int  nb_col 
)
virtual

Reimplemented in NlpGenSparse.

virtual void NlpGen::joinRHS ( OoqpVector &  rhs_in,
OoqpVector &  rhs1_in,
OoqpVector &  rhs2_in,
OoqpVector &  rhs3_in 
)
pure virtual

Implemented in sFactory, NlpGenStoch, and NlpGenSparse.

virtual void NlpGen::joinRHSXSYZ ( OoqpVector &  rhs_in,
OoqpVector &  rhs1_in,
OoqpVector &  rhs2_in,
OoqpVector &  rhs3_in,
OoqpVector &  rhs4_in 
)
pure virtual

Implemented in NlpGenSparse, sFactory, and NlpGenStoch.

Residuals * NlpGen::makeResiduals ( Data *  prob_in)
virtual

create the Residuals class for the relevant formulation

Implements ProblemFormulation.

Reimplemented in sFactory, and NlpGenStoch.

Variables * NlpGen::makeVariables ( Data *  prob_in)
virtual

creates the Variables class for the relevant formulation

Implements ProblemFormulation.

Reimplemented in sFactory, and NlpGenStoch.

virtual void NlpGen::separateVars ( OoqpVector &  x_in,
OoqpVector &  y_in,
OoqpVector &  z_in,
OoqpVector &  vars_in 
)
pure virtual

Implemented in sFactory, NlpGenStoch, and NlpGenSparse.

virtual void NlpGen::separateVarsXSYZ ( OoqpVector &  x_in,
OoqpVector &  s_in,
OoqpVector &  y_in,
OoqpVector &  z_in,
OoqpVector &  vars_in 
)
pure virtual

Implemented in NlpGenSparse, sFactory, and NlpGenStoch.

Member Data Documentation

LinearAlgebraPackage* NlpGen::la
protected
long long NlpGen::my
protected

number of rows in A and b

long long NlpGen::mz
protected

number of rows in C

long long NlpGen::nx
protected

number of elements in x


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