CouennePSDcon.cpp
Go to the documentation of this file.
1 /* $Id: CouennePSDcon.cpp 933 2012-12-29 13:23:40Z pbelotti $
2  *
3  * Name: CouennePSDcon.cpp
4  * Author: Pietro Belotti
5  * Purpose: implementation, positive semidefinite constraints
6  *
7  * This file is licensed under the Eclipse Public License (EPL)
8  */
9 
10 #include "CouenneMatrix.hpp"
11 #include "CouennePSDcon.hpp"
12 
13 using namespace Couenne;
14 
17 {if (X_) delete X_;}
18 
21 {X_ = c.X_ -> clone ();}
22 
25 {X_ = c.X_ -> clone (); return *this;}
26 
29 {return NULL;}
30 
32 void CouennePSDcon::print (std::ostream &os) {}
CouennePSDcon(CouenneExprMatrix *X)
Constructor.
CouenneConstraint * clone(Domain *d=NULL) const
Cloning method.
Class to represent positive semidefinite constraints //////////////////.
void print(std::ostream &=std::cout)
Print constraint.
Class for MINLP problems with symbolic information.
~CouennePSDcon()
Destructor.
CouenneExprMatrix * X_
contains indices of matrix X 0
CouennePSDcon & operator=(const CouennePSDcon &c)
Assignment operator.
Auxiliary variable.
exprAux * standardize(CouenneProblem *)
Decompose body of constraint through auxiliary variables.
real c
Define a dynamic point+bounds, with a way to save and restore previous points+bounds through a LIFO s...