Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
zengjian-hu-rai committed Sep 25, 2023
1 parent f2828e6 commit 4478dff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SolverAPI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ function solve(fn, json::Request, solver::MOI.AbstractOptimizer)

# TODO (dba) `SolverAPI.jl` should be decoupled from any solver specific code.
solver_info = Dict{Symbol,Any}()
solver_name = lowercase(get(json.options, :solver, "highs"))
if solver_name in ["minizinc","csp2sat"]
solver_name = lowercase(get(json.options, :solver, "highs"))
if solver_name in ["minizinc", "csp2sat"]
T = Int
solver_info[:use_indicator] = false
else
Expand Down

0 comments on commit 4478dff

Please sign in to comment.