Public Member Functions | Protected Attributes | List of all members
Couenne::CouennePSDcon Class Reference

Class to represent positive semidefinite constraints //////////////////. More...

#include <CouennePSDcon.hpp>

Inheritance diagram for Couenne::CouennePSDcon:
Inheritance graph
[legend]
Collaboration diagram for Couenne::CouennePSDcon:
Collaboration graph
[legend]

Public Member Functions

 CouennePSDcon (CouenneExprMatrix *X)
 Constructor. More...
 
 ~CouennePSDcon ()
 Destructor. More...
 
 CouennePSDcon (const CouennePSDcon &c, Domain *d=NULL)
 Copy constructor. More...
 
CouennePSDconoperator= (const CouennePSDcon &c)
 Assignment operator. More...
 
CouenneConstraintclone (Domain *d=NULL) const
 Cloning method. More...
 
CouenneExprMatrixgetX () const
 return X More...
 
exprAuxstandardize (CouenneProblem *)
 Decompose body of constraint through auxiliary variables. More...
 
void print (std::ostream &=std::cout)
 Print constraint. More...
 
- Public Member Functions inherited from Couenne::CouenneConstraint
 CouenneConstraint (expression *body=NULL, expression *lb=NULL, expression *ub=NULL)
 Constructor. More...
 
virtual ~CouenneConstraint ()
 Destructor. More...
 
 CouenneConstraint (const CouenneConstraint &c, Domain *d=NULL)
 Copy constructor. More...
 
virtual expressionLb () const
 Expression of lower bound. More...
 
virtual expressionUb () const
 Expression of upper bound. More...
 
virtual expressionBody () const
 Expression of body of constraint. More...
 
virtual expressionBody (expression *newBody)
 Set body of constraint. More...
 

Protected Attributes

CouenneExprMatrixX_
 contains indices of matrix X 0 More...
 
- Protected Attributes inherited from Couenne::CouenneConstraint
expressionbody_
 Body of constraint. More...
 
expressionlb_
 Lower bound (expression) More...
 
expressionub_
 Upper bound (expression) More...
 

Detailed Description

Class to represent positive semidefinite constraints //////////////////.

Definition at line 24 of file CouennePSDcon.hpp.

Constructor & Destructor Documentation

Couenne::CouennePSDcon::CouennePSDcon ( CouenneExprMatrix X)
inline

Constructor.

Definition at line 33 of file CouennePSDcon.hpp.

CouennePSDcon::~CouennePSDcon ( )

Destructor.

Definition at line 16 of file CouennePSDcon.cpp.

CouennePSDcon::CouennePSDcon ( const CouennePSDcon c,
Domain d = NULL 
)

Copy constructor.

Definition at line 20 of file CouennePSDcon.cpp.

Member Function Documentation

CouennePSDcon & CouennePSDcon::operator= ( const CouennePSDcon c)

Assignment operator.

assignment operator

Definition at line 24 of file CouennePSDcon.cpp.

CouenneConstraint* Couenne::CouennePSDcon::clone ( Domain d = NULL) const
inlinevirtual

Cloning method.

Reimplemented from Couenne::CouenneConstraint.

Definition at line 47 of file CouennePSDcon.hpp.

CouenneExprMatrix* Couenne::CouennePSDcon::getX ( ) const
inline

return X

Definition at line 51 of file CouennePSDcon.hpp.

exprAux * CouennePSDcon::standardize ( CouenneProblem p)
virtual

Decompose body of constraint through auxiliary variables.

decompose body of constraint through auxiliary variables

Reimplemented from Couenne::CouenneConstraint.

Definition at line 28 of file CouennePSDcon.cpp.

void CouennePSDcon::print ( std::ostream &  os = std::cout)
virtual

Print constraint.

print constraint

Reimplemented from Couenne::CouenneConstraint.

Definition at line 32 of file CouennePSDcon.cpp.

Member Data Documentation

CouenneExprMatrix* Couenne::CouennePSDcon::X_
protected

contains indices of matrix X 0

Definition at line 28 of file CouennePSDcon.hpp.


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