Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions benchmarks/core-moonshot-gpu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ function run()
# :ducted_fan,
:electric_vehicle,
:glider,
## :insurance, # to be re-added (unstable / sincos issue)
## :insurance, # to be re-added (unstable / sincos issue)
:jackson,
:robbins,
## :robot, # to be re-added (unstable / sincos issue)
## :robot, # to be re-added (unstable / sincos issue)
:rocket,
## :space_shuttle, # to be re-added (unstable / sincos issue)
## :steering, # to be re-added (unstable / sincos issue)
## :space_shuttle, # to be re-added (unstable / sincos issue)
## :steering, # to be re-added (unstable / sincos issue)
:vanderpol,
],
solver_models=[:madnlp => [:exa, :exa_gpu]],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ function run()
# :ducted_fan,
:electric_vehicle,
:glider,
## :insurance, # to be re-added (unstable / sincos issue)
## :insurance, # to be re-added (unstable / sincos issue)
:jackson,
:robbins,
## :robot, # to be re-added (unstable / sincos issue)
## :robot, # to be re-added (unstable / sincos issue)
:rocket,
## :space_shuttle, # to be re-added (unstable / sincos issue)
## :steering, # to be re-added (unstable / sincos issue)
## :space_shuttle, # to be re-added (unstable / sincos issue)
## :steering, # to be re-added (unstable / sincos issue)
:vanderpol,
],
solver_models=[:madnlp => [:exa, :exa_gpu]],
Expand Down
13 changes: 6 additions & 7 deletions src/plot_solutions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,18 @@ function get_color(model::T, solver::T, idx::Int) where {T<:Union{String,Symbol}
]

fixed = Dict(
("adnlp", "ipopt") => :steelblue,
("exa", "ipopt") => :tomato,
("adnlp", "madnlp") => :seagreen,
("exa", "madnlp") => :darkorange,
("jump", "ipopt") => :mediumpurple,
("jump", "madnlp") => :sienna,
("adnlp", "ipopt") => :steelblue,
("exa", "ipopt") => :tomato,
("adnlp", "madnlp") => :seagreen,
("exa", "madnlp") => :darkorange,
("jump", "ipopt") => :mediumpurple,
("jump", "madnlp") => :sienna,
("exa_gpu", "madnlp") => :mediumturquoise,
)

return get(fixed, (model, solver), palette[mod1(idx, length(palette))])
end


# -----------------------------------
# Helper: left margin for plots
# -----------------------------------
Expand Down