Minotaur 0.4.1
Docs for developers
PreAuxVars.h
Go to the documentation of this file.
1//
2// Minotaur -- It's only 1/2 bull
3//
4// (C)opyright 2008 - 2025 The Minotaur Team.
5//
6
14#ifndef MINOTAURPREAUXVARS_H
15#define MINOTAURPREAUXVARS_H
16
17#include "PreMod.h"
18#include "Variable.h"
19
20namespace Minotaur {
21
22class PreAuxVars : public PreMod {
23public:
25 PreAuxVars();
26
29
31 void insert(VariablePtr v);
32
34 void postsolveGetX(const DoubleVector &x, DoubleVector *newx);
35
37 UInt getSize();
38
39private:
40 std::deque<VariablePtr> vars_;
41
42};
43
45}
46#endif
47
Declare the PreMod class for saving changes in presolve.
Define the Variable class.
Definition: PreAuxVars.h:22
~PreAuxVars()
Destroy.
Definition: PreAuxVars.cpp:23
UInt getSize()
Return the number of additions.
Definition: PreAuxVars.cpp:55
PreAuxVars()
Constructor.
Definition: PreAuxVars.cpp:18
void postsolveGetX(const DoubleVector &x, DoubleVector *newx)
Remove aux-vars from the solution x.
Definition: PreAuxVars.cpp:35
void insert(VariablePtr v)
New variable that was created.
Definition: PreAuxVars.cpp:29
Definition: PreMod.h:25
Definition: Variable.h:31
Definition: ActiveNodeStore.h:20
unsigned int UInt
Unsigned integer.
Definition: Types.h:30

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