Minotaur 0.4.1
Docs for developers
Relaxation.h
Go to the documentation of this file.
1//
2// Minotaur -- It's only 1/2 bull
3//
4// (C)opyright 2009 - 2025 The Minotaur Team.
5//
6
14#ifndef MINOTAURRELAXATION_H
15#define MINOTAURRELAXATION_H
16
17#include "Problem.h"
18
19namespace Minotaur {
20
53class Relaxation : public Problem {
54 public:
56 Relaxation(EnvPtr env);
57
65 Relaxation(ProblemPtr problem, EnvPtr env);
66
69
70 VariablePtr getOriginalVar(VariablePtr r_var);
71
72 VariablePtr getRelaxationVar(VariablePtr p_var);
73
74 void setProblem(ProblemPtr p);
75
76 void setProblem(ConstProblemPtr p);
77
78 Relaxation* clone(EnvPtr env);
79
80 protected:
83};
84
86typedef const Relaxation* ConstRelaxationPtr;
87} // namespace Minotaur
88#endif
89
Declare the base class Modification.
Definition: Environment.h:28
Definition: Problem.h:74
Definition: Relaxation.h:53
Relaxation(EnvPtr env)
Default constructor.
Definition: Relaxation.cpp:33
~Relaxation()
Destructor. No need yet. Use ~Problem().
Definition: Relaxation.h:68
ConstProblemPtr p_
Pointer to the original problem.
Definition: Relaxation.h:82
Definition: Variable.h:31
Definition: ActiveNodeStore.h:20

Minotaur source code documented by Doxygen 1.9.4 on Thu Apr 24 2025