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 60b90de commit 59e4751Copy full SHA for 59e4751
test/MOI_wrapper.jl
@@ -151,7 +151,7 @@ function test_not_dcp_objective_min()
151
)
152
x = MOI.add_variable(model)
153
g = MOI.ScalarNonlinearFunction(:^, Any[x, 2])
154
- f = MOI.ScalarNonlinearFunction(:-, Any[f])
+ f = MOI.ScalarNonlinearFunction(:-, Any[g])
155
MOI.set(model, MOI.ObjectiveSense(), MOI.MIN_SENSE)
156
attr = MOI.ObjectiveFunction{typeof(f)}()
157
MOI.set(model, attr, f)
0 commit comments