Couenne
0.5.8
Loading...
Searching...
No Matches
src
cut
sdpcuts
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
24
class
CouennePSDcon
:
public
CouenneConstraint
{
25
26
protected
:
27
28
CouenneExprMatrix
*
X_
;
29
30
public
:
31
33
CouennePSDcon
(
CouenneExprMatrix
*X):
34
CouenneConstraint
(),
35
X_
(X) {}
36
38
~CouennePSDcon
();
39
41
CouennePSDcon
(
const
CouennePSDcon
&c,
Domain
*d = NULL);
42
44
CouennePSDcon
&
operator=
(
const
CouennePSDcon
&c);
45
47
inline
CouenneConstraint
*
clone
(
Domain
*d = NULL)
const
48
{
return
new
CouennePSDcon
(*
this
, d);}
49
51
CouenneExprMatrix
*
getX
()
const
{
return
X_
;}
52
54
exprAux
*
standardize
(
CouenneProblem
*);
55
57
void
print
(std::ostream & = std::cout);
58
};
59
}
60
61
#endif
CouenneProblemElem.hpp
Couenne::CouenneConstraint::CouenneConstraint
CouenneConstraint(expression *body=NULL, expression *lb=NULL, expression *ub=NULL)
Constructor.
Definition
CouenneProblemElem.hpp:50
Couenne::CouenneExprMatrix
Definition
CouenneMatrix.hpp:104
Couenne::CouennePSDcon::operator=
CouennePSDcon & operator=(const CouennePSDcon &c)
Assignment operator.
Couenne::CouennePSDcon::CouennePSDcon
CouennePSDcon(const CouennePSDcon &c, Domain *d=NULL)
Copy constructor.
Couenne::CouennePSDcon::~CouennePSDcon
~CouennePSDcon()
Destructor.
Couenne::CouennePSDcon::getX
CouenneExprMatrix * getX() const
return X
Definition
CouennePSDcon.hpp:51
Couenne::CouennePSDcon::CouennePSDcon
CouennePSDcon(CouenneExprMatrix *X)
Constructor.
Definition
CouennePSDcon.hpp:33
Couenne::CouennePSDcon::print
void print(std::ostream &=std::cout)
Print constraint.
Couenne::CouennePSDcon::X_
CouenneExprMatrix * X_
contains indices of matrix X \succeq 0
Definition
CouennePSDcon.hpp:28
Couenne::CouennePSDcon::clone
CouenneConstraint * clone(Domain *d=NULL) const
Cloning method.
Definition
CouennePSDcon.hpp:47
Couenne::CouennePSDcon::standardize
exprAux * standardize(CouenneProblem *)
Decompose body of constraint through auxiliary variables.
Couenne::CouenneProblem
Class for MINLP problems with symbolic information.
Definition
CouenneProblem.hpp:169
Couenne::Domain
Define a dynamic point+bounds, with a way to save and restore previous points+bounds through a LIFO s...
Definition
CouenneDomain.hpp:104
Couenne::exprAux
Auxiliary variable.
Definition
CouenneExprAux.hpp:32
Couenne
general include file for different compilers
Definition
CouenneAggrProbing.hpp:24
Generated by
1.13.2