Skip to content

Commit c8e5760

Browse files
authored
Apply suggestions from code review
1 parent 3e00102 commit c8e5760

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

docs/make.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Pkg
22
Pkg.pkg"add Documenter#71e9f40"
3-
Pkg.pkg"add MathOptInterface#od/vector-optimization"
3+
Pkg.pkg"add MathOptInterface#master"
44
import Documenter
55
import Literate
66
import Test

docs/src/manual/objective.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ In most cases, multi-objective optimization solvers will return multiple
180180
solutions, corresponding to points on the Pareto frontier. See [Multiple solutions](@ref)
181181
for information on how to query and work with multiple solutions.
182182

183-
Note that you can must set a single objective sense, that is, you cannot have
183+
Note that you must set a single objective sense, that is, you cannot have
184184
both minimization and maximization objectives. Work around this limitation by
185185
choosing `Min` and negating any objectives you want to maximize:
186186

test/runtests.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#############################################################################
1010

1111
import Pkg
12-
Pkg.pkg"add MathOptInterface#od/vector-optimization"
12+
Pkg.pkg"add MathOptInterface#master"
1313

1414
import JuMP
1515
import Test

test/test_generate_and_solve.jl

-1
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,6 @@ function test_generate_solve_vector_objective()
566566
MOI.set(mock, MOI.ResultCount(), 1)
567567
MOI.set(mock, MOI.PrimalStatus(), MOI.FEASIBLE_POINT)
568568
MOI.set(mock, MOI.DualStatus(), MOI.NO_SOLUTION)
569-
# MOI.set(mock, MOI.ObjectiveValue(), [0.0, 1.0])
570569
MOI.set(mock, MOI.ObjectiveBound(), [0.0, 1.0])
571570
MOI.set(mock, MOI.VariablePrimal(), optimizer_index(x), 0.0)
572571
MOI.set(mock, MOI.VariablePrimal(), optimizer_index(y), 1.0)

0 commit comments

Comments
 (0)