We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d142456 commit 3fa57e7Copy full SHA for 3fa57e7
src/reformulate.jl
@@ -2,12 +2,12 @@
2
# REFORMULATE
3
################################################################################
4
"""
5
- reformulate_model(model::JuMP.Model, method::AbstractSolutionMethod)
+ reformulate_model(model::JuMP.Model, method::AbstractSolutionMethod = BigM())
6
7
Reformulate a `GDPModel` using the specified `method`. Prior to reformulation,
8
all previous reformulation variables and constraints are deleted.
9
10
-function reformulate_model(model::JuMP.Model, method::AbstractSolutionMethod)
+function reformulate_model(model::JuMP.Model, method::AbstractSolutionMethod = BigM())
11
#clear all previous reformulations
12
_clear_reformulations(model)
13
#reformulate
0 commit comments