You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ocots@PierreMartinon a few updates needed (provided i tried and used correctly solve with the new flat syntax):
the error is not as nice as before when the user forgets using NLPModelsIpopt
same with(out) MadNLP
looks like we have to both using MadNLP and using MadNLPMumps to trigger the extension... (anyway this has to be updated with MadNLP new release v0.9)
similar issue with MadNLPGPU; plus it tries to use Mumps on CUDA! with backend=CUDABackend(), it only makes sense to use linear_solver=MadNLPGPU.CUDSSSolver which should then be the default in that case
@ocots still a minor issue on these cases (should indicate to choose the non-default combo :exa for the modeller and :madnlp for the solver, which is the only one that allows to use a CUDA backend):
julia>using MadNLPGPU
julia>solve(o; backend=CUDABackend())
┌ Error: Validation failed for option backend with value CUDABackend(false, false)
│ exception =
│ MethodError: no method matching (::CTSolvers.Modelers.var"#get_validate_adnlp_backend##0#get_validate_adnlp_backend##1"{Type{CTSolvers.Modelers.ADNLPTag}})(::CUDABackend)
│ The function`#get_validate_adnlp_backend##0` exists, but no method is defined for this combination of argument types.
│
│ Closest candidates are:
│…
@ocots @PierreMartinon a few updates needed (provided i tried and used correctly
solvewith the new flat syntax):using NLPModelsIpoptMadNLPusing MadNLPandusing MadNLPMumpsto trigger the extension... (anyway this has to be updated with MadNLP new release v0.9)backend=CUDABackend(), it only makes sense to uselinear_solver=MadNLPGPU.CUDSSSolverwhich should then be the default in that case@ocots still a minor issue on these cases (should indicate to choose the non-default combo
:exafor the modeller and:madnlpfor the solver, which is the only one that allows to use a CUDA backend):