Couenne 0.5.8
Loading...
Searching...
No Matches
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
14#include <iostream>
15
16namespace 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
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
Class to represent nonlinear constraints.
Class to represent positive semidefinite constraints //////////////////.
CouennePSDcon & operator=(const CouennePSDcon &c)
Assignment operator.
CouennePSDcon(const CouennePSDcon &c, Domain *d=NULL)
Copy constructor.
~CouennePSDcon()
Destructor.
CouenneExprMatrix * getX() const
return X
CouennePSDcon(CouenneExprMatrix *X)
Constructor.
void print(std::ostream &=std::cout)
Print constraint.
CouenneExprMatrix * X_
contains indices of matrix X \succeq 0
CouenneConstraint * clone(Domain *d=NULL) const
Cloning method.
exprAux * standardize(CouenneProblem *)
Decompose body of constraint through auxiliary variables.
Class for MINLP problems with symbolic information.
Define a dynamic point+bounds, with a way to save and restore previous points+bounds through a LIFO s...
Auxiliary variable.
general include file for different compilers