Skip to content

Commit 7da7c14

Browse files
committed
warn about setting FEASIBLITY_SENSE
1 parent f4b5883 commit 7da7c14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/MOI_wrapper.jl

+2
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@ function MOI.set(o::Optimizer, ::MOI.ObjectiveSense, sense::MOI.OptimizationSens
311311
@SC SCIPsetObjsense(scip(o), SCIP_OBJSENSE_MINIMIZE)
312312
elseif sense == MOI.MAX_SENSE
313313
@SC SCIPsetObjsense(scip(o), SCIP_OBJSENSE_MAXIMIZE)
314+
elseif sense == MOI.FEASIBLITY_SENSE
315+
@warn "FEASIBLITY_SENSE not supported by SCIP.jl" maxlog=1
314316
end
315317
return nothing
316318
end

0 commit comments

Comments
 (0)