Skip to content

Commit 3fa57e7

Browse files
committed
add default reformulation method: BigM()
1 parent d142456 commit 3fa57e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reformulate.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
# REFORMULATE
33
################################################################################
44
"""
5-
reformulate_model(model::JuMP.Model, method::AbstractSolutionMethod)
5+
reformulate_model(model::JuMP.Model, method::AbstractSolutionMethod = BigM())
66
77
Reformulate a `GDPModel` using the specified `method`. Prior to reformulation,
88
all previous reformulation variables and constraints are deleted.
99
"""
10-
function reformulate_model(model::JuMP.Model, method::AbstractSolutionMethod)
10+
function reformulate_model(model::JuMP.Model, method::AbstractSolutionMethod = BigM())
1111
#clear all previous reformulations
1212
_clear_reformulations(model)
1313
#reformulate

0 commit comments

Comments
 (0)