Minotaur 0.4.1
Docs for developers
MILPEngine.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 MINOTAURMILPENGINE_H
15#define MINOTAURMILPENGINE_H
16
17#include "Engine.h"
18
19namespace Minotaur {
20
28 class MILPEngine : public Engine {
29
30 public:
31 friend class Problem;
32
35
37 virtual ~MILPEngine() {};
38
40 virtual void setTimeLimit(double) = 0;
41
43 virtual void setUpperCutoff(double) = 0;
44
46 virtual UInt getNumSols() = 0;
47
50
51 };
53}
54
55#endif
Define the base class Engine.
Definition: Engine.h:34
Definition: MILPEngine.h:28
virtual UInt getNumSols()=0
Get number of solutions in the solution pool of MILP engine.
virtual ~MILPEngine()
Destructor must be implemented if memory needs to be freed.
Definition: MILPEngine.h:37
virtual ConstSolutionPtr getSolutionFromPool(int)=0
Get a particular solution from solution pool.
MILPEngine()
Constructor. May set default parameters/options here.
Definition: MILPEngine.h:34
virtual void setUpperCutoff(double)=0
Set upper cutoff for an iteration.
virtual void setTimeLimit(double)=0
Set time limit for an iteration.
Definition: Problem.h:74
Definition: Solution.h:30
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