Minotaur 0.4.1
Docs for developers
AnalyticalCenter.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
13#ifndef MINOTAURANALYTICALCENTER_H
14#define MINOTAURANALYTICALCENTER_H
15
16#include <stack>
17
18#include "Engine.h"
19#include "Logger.h"
20#include "Problem.h"
21#include "Timer.h"
22
23#include "Solution.h"
24
25namespace Minotaur {
26
28
29private:
31 EnvPtr env_;
32
34 ProblemPtr minlp_;
35
36 Timer *timer_;
37
39 LoggerPtr logger_;
40
42 static const std::string me_;
43
45 EnginePtr nlpe_;
46
48 double solAbsTol_;
49
50 public:
60
63
64 // Find center by adding auxiliary variable only to the nonlinear constraints
65 // and keeping linear constraints as they are.
66 void modifyOnlyNonlinear(double * &solC);
67
68 // Find center by adding auxiliary variable to all inequalties, including
69 // variable bounds.
70 void modifyWhole(double * &solC);
71
72private:
73 void solveNLP_(double * &solC);
74
75 };
76
78}
79#endif
80
Define the base class Engine.
Declare class for creating logs.
Declare the base class Modification.
Implement base class Solution.
Define the TimerFactory and varios Timer classes.
Definition: AnalyticalCenter.h:27
~AnalyticalCenter()
Destroy.
Definition: AnalyticalCenter.cpp:62
AnalyticalCenter(EnvPtr env, ProblemPtr minlp, EnginePtr nlpe)
Default Constructor.
Definition: AnalyticalCenter.cpp:51
Definition: Engine.h:34
Definition: Environment.h:28
Definition: Logger.h:37
Definition: Problem.h:74
Definition: Timer.h:40
Definition: ActiveNodeStore.h:20

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