idol
A C++ Framework for Optimization
Loading...
Searching...
No Matches
BranchingDecision.h
1
//
2
// Created by henri on 15.11.23.
3
//
4
5
#ifndef IDOL_BRANCHINGDECISION_H
6
#define IDOL_BRANCHINGDECISION_H
7
8
#include <utility>
9
10
#include "idol/mixed-integer/modeling/variables/Var.h"
11
#include "idol/mixed-integer/modeling/constraints/Ctr.h"
12
#include "idol/mixed-integer/modeling/constraints/TempCtr.h"
13
14
namespace
idol {
15
16
struct
VarBranchingDecision
{
17
Var
variable;
18
CtrType type;
19
double
bound;
20
VarBranchingDecision
(
Var
t_variable, CtrType t_type,
double
t_bound) : variable(std::move(t_variable)), type(t_type), bound(t_bound) {}
21
};
22
23
struct
CtrBranchingDecision
{
24
Ctr
constraint;
25
TempCtr
temporary_constraint;
26
CtrBranchingDecision
(
Ctr
t_constraint,
TempCtr
&& t_temporary_constraint) : constraint(std::move(t_constraint)), temporary_constraint(t_temporary_constraint) {}
27
};
28
29
}
30
31
#endif
//IDOL_BRANCHINGDECISION_H
idol::Ctr
Definition
Ctr.h:29
idol::TempCtr
Definition
TempCtr.h:41
idol::Var
Definition
Var.h:27
idol::CtrBranchingDecision
Definition
BranchingDecision.h:23
idol::VarBranchingDecision
Definition
BranchingDecision.h:16
lib
include
idol
mixed-integer
optimizers
branch-and-bound
nodes
BranchingDecision.h
Generated by
1.9.8