MadNLP / MadNLP.jl

A solver for nonlinear programming
MIT License
160 stars 14 forks source link

CUTEst using CUDSS? #348

Open bzhangcw opened 3 months ago

bzhangcw commented 3 months ago

Hi,

I'm trying to use CUDSSSolver to solve cutest models. It seems impossible since it cannot be put onto GPU device?

sshin23 commented 3 months ago

Could you share the code? MadNLP on GPU expects the callback functions to be evaluated on GPU, and it is likely that your model is running on CPU. A naive approach is likely to fail here

bzhangcw commented 3 months ago

Thanks, this is what I expected here. Is there any working examples to work on maybe a JuMP model? Thanks.

Could you share the code? MadNLP on GPU expects the callback functions to be evaluated on GPU, and it is likely that your model is running on CPU. A naive approach is likely to fail here