Skip to content

Commit 6447d81

Browse files
Update linearandinteger.md
1 parent 324cb30 commit 6447d81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/src/tutorials/linearandinteger.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ cons = [u[1] + v[1] - w[1] ~ 150 # January
5151
-m - 1.02v[3] - 1.01u[5] + 1.003w[5] ~ -300]
5252
5353
@named optsys = OptimizationSystem(m, [u..., v..., w..., m], [], constraints = cons)
54+
optsys = complete(optsys)
5455
optprob = OptimizationProblem(optsys,
5556
vcat(fill(0.0, 13), 300.0);
5657
grad = true,

0 commit comments

Comments
 (0)