Commit 9458bb39 authored by Jonas Seidel's avatar Jonas Seidel

temporary fix for target variable not being part of benders decomposition

parent 2a8b7dd2
......@@ -104,7 +104,7 @@ Maintenance_Problem::Maintenance_Problem(
/*
value bounded by flow
*/
std::pair<Variable*, size_t> target_var = this->polyeder().add_variable(Variable("target_variable", Continuous));
std::pair<Variable*, size_t> target_var = this->polyeder().add_variable(Variable("target_variable", Integral));
for(size_t epoch = 0; epoch < intervals; ++epoch){
auto lookup_during_epoch = lookup[epoch];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment