forked from gabriel301/DiscreteOptimizationCoursera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEnumSettings.py
32 lines (27 loc) · 929 Bytes
/
EnumSettings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
from enum import Enum
# Class used to set different strategies to different instances os the problem.
# One strategy sets different parameters (Maximun Runtime, Local Search Procedure, etc)
class Strategy(Enum):
Default = "Default"
Alpha = "Alpha"
Beta = "Beta"
Gamma = "Gamma"
Delta = "Delta"
Epsilon = "Epsilon"
# Enum to change the behaviour of the local search method to work with either first improment approach or best improvement approach
class ImprovementType(Enum):
Best = "Best Improvement"
First = "First Improvement"
# Enum to choose the solving paradigm
class SolvingParadigm(Enum):
MIP = "MIP"
Heuristic = "Heuristic"
Hybrid = "Hybrid"
# Enum to choose the initial solution function
class InitialSolutionFunction(Enum):
Radius = "Radius"
Euclidean = "Euclidean"
Manhatan = "Manhatan"
class MipSolver(Enum):
SCIP = "SCIP"
CPLEX = "CPLEX"