From f23a887bb35b9e893bba775a5399b2e01b009cc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Kr=C3=B6ger?= Date: Tue, 7 Apr 2020 17:03:39 +0200 Subject: [PATCH] IndicatorSet documentation I think the documentation showed the wrong variables and coefficients. Hope the changes are correct. --- src/sets.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sets.jl b/src/sets.jl index fe7169f5ed..9363972ac4 100644 --- a/src/sets.jl +++ b/src/sets.jl @@ -736,8 +736,8 @@ Example: ``\\{(y, x) \\in \\{0, 1\\} \\times \\mathbb{R}^2 : y = 1 \\implies x_1 ```julia f = MOI.VectorAffineFunction( - [MOI.VectorAffineTerm(1, MOI.ScalarAffineTerm(1.0, z)), - MOI.VectorAffineTerm(2, MOI.ScalarAffineTerm(0.2, x1)), + [MOI.VectorAffineTerm(1, MOI.ScalarAffineTerm(1.0, y)), + MOI.VectorAffineTerm(2, MOI.ScalarAffineTerm(1.0, x1)), MOI.VectorAffineTerm(2, MOI.ScalarAffineTerm(1.0, x2)), ], [0.0, 0.0],