-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcore-moonshot-gpu.jl
More file actions
33 lines (32 loc) · 1.11 KB
/
core-moonshot-gpu.jl
File metadata and controls
33 lines (32 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Benchmark script for core-moonshot-gpu
# Setup (Pkg.activate, instantiate, update, using CTBenchmarks) is handled by the workflow
function run()
results = CTBenchmarks.benchmark(;
problems=[
:beam,
:chain,
:double_oscillator,
# :ducted_fan,
:electric_vehicle,
:glider,
## :insurance, # to be re-added (unstable / sincos issue)
:jackson,
:robbins,
## :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)
:vanderpol,
],
solver_models=[:madnlp => [:exa, :exa_gpu]],
grid_sizes=[1000, 5000, 10000, 20000],
disc_methods=[:midpoint],
tol=1e-8,
ipopt_mu_strategy="adaptive",
print_trace=false,
max_iter=1000,
max_wall_time=2000.0, # updated from 1000 to 2000 for large grid_size's
)
println("✅ Benchmark completed successfully!")
return results
end