Minotaur
0.4.1
Docs for developers
Loading...
Searching...
No Matches
src
base
NLPRelaxation.h
1
//
2
// Minotaur -- It's only 1/2 bull
3
//
4
// (C)opyright 2009 - 2025 The Minotaur Team.
5
//
6
7
8
#ifndef MINOTAURNLPRELAXATION_H
9
#define MINOTAURNLPRELAXATION_H
10
11
#include "
Relaxation.h
"
12
13
namespace
Minotaur
{
14
15
// /**
16
// A nonlinear relaxation is of the form:
17
//
18
// min f(x)
19
//
20
// s.t. l_g <= g(x) <= u_g
21
//
22
// l_x <= x <= u_x
23
//
24
// x real or integer
25
//
26
// where g(x) may have a nonlinear function in one or more constraints.
27
// */
28
class
NLPRelaxation
:
public
Relaxation
{
29
public
:
30
// /**
31
// Construct an empty Nonlinear Relaxation.
32
// */
33
NLPRelaxation
(
EnvPtr
env);
34
35
// /**
36
// Construct relaxation from a problem. For now, just copy the whole problem.
37
// */
38
NLPRelaxation
(
ProblemPtr
problem,
EnvPtr
env);
39
40
// /**
41
// Destroy
42
// */
43
virtual
~NLPRelaxation
() { };
44
45
protected
:
46
// /**
47
// Pointer to the original problem
48
// */
49
ConstProblemPtr
originalProblem_;
50
};
51
52
typedef
NLPRelaxation
*
NLPRelaxationPtr
;
53
typedef
const
NLPRelaxation
*
ConstNLPRelaxationPtr
;
54
}
55
#endif
56
Relaxation.h
Declare the class Relaxation for storing and manipulating relaxations.
Minotaur::Environment
Definition
Environment.h:28
Minotaur::NLPRelaxation
Definition
NLPRelaxation.h:28
Minotaur::Problem
Definition
Problem.h:74
Minotaur::Relaxation
Definition
Relaxation.h:53
Minotaur
Definition
AbsHandler.h:19
Minotaur source code documented by
Doxygen 1.9.8
on Tue Jul 28 2026