Skip to content
Snippets Groups Projects

Define variables through new @defvar macro

Merged Michiel Cottaar requested to merge new_variables into main
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -66,7 +66,7 @@ function build_sequence(f::Function, scanner::Union{Nothing, Scanner}, model::Mo
end
optimize!(model)
while termination_status(model) == INVALID_MODEL
@variable(model, x[i=1:10])
@variable(model)
optimize!(model)
end
if termination_status(model) in (LOCALLY_SOLVED, OPTIMAL)
Loading