Couenne  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CouennePSDcon.hpp
Go to the documentation of this file.
1 /* $Id: CouennePSDcon.hpp 933 2012-12-29 13:23:40Z pbelotti $
2  *
3  * Name: CouennePSDcon.hpp
4  * Author: Pietro Belotti
5  * Purpose: define the class of positive semidefinite constraints
6  *
7  * This file is licensed under the Eclipse Public License (EPL)
8  */
9 
10 #ifndef CouennePSDcon_hpp
11 #define CouennePSDcon_hpp
12 
13 #include "CouenneProblemElem.hpp"
14 #include <iostream>
15 
16 namespace Couenne {
17 
18  class CouenneExprMatrix;
19  class CouenneProblem;
20  class Domain;
21 
23 
25 
26  protected:
27 
29 
30  public:
31 
35  X_ (X) {}
36 
38  ~CouennePSDcon ();
39 
41  CouennePSDcon (const CouennePSDcon &c, Domain *d = NULL);
42 
45 
47  inline CouenneConstraint *clone (Domain *d = NULL) const
48  {return new CouennePSDcon (*this, d);}
49 
51  CouenneExprMatrix *getX () const {return X_;}
52 
55 
57  void print (std::ostream & = std::cout);
58  };
59 }
60 
61 #endif
CouennePSDcon(CouenneExprMatrix *X)
Constructor.
CouenneConstraint * clone(Domain *d=NULL) const
Cloning method.
Class to represent positive semidefinite constraints //////////////////.
Class to represent nonlinear constraints.
~CouennePSDcon()
Destructor.
exprAux * standardize(CouenneProblem *)
Decompose body of constraint through auxiliary variables.
void print(std::ostream &=std::cout)
Print constraint.
Class for MINLP problems with symbolic information.
CouenneExprMatrix * X_
contains indices of matrix X 0
Auxiliary variable.
CouenneExprMatrix * getX() const
return X
CouennePSDcon & operator=(const CouennePSDcon &c)
Assignment operator.
Define a dynamic point+bounds, with a way to save and restore previous points+bounds through a LIFO s...