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
Currently, I get an error when trying to run with MadNLPLapackGPU.QR or MadNLPLapackGPU.LU. The tril_to_full!() function is only defined for objects of type Matrix, so the function doesn't work with CuArray types on the GPU. An example script that results in this error is shown bleow.
even madnlp(nls) doesn't work, and it seems that the issue is caused by
get_nnzj(nls) != get_nnzj(nls.meta)
@dpo@abelsiqueira is this an expected behavior? If a solver wants to solve NLS problem as a generic NLP, does the solver need to query nnzj and nnzh from nls.meta, not nls?
By contrast, get_nnzj(nls.meta) would return the number of nonzeros in the Jacobian of the constraints (not counting bound constraints), if your NLSModel had any. In addition, nnzj was recently split into lin_nnzj and nln_nnzj (linear/nonlinear constraints).
Currently, I get an error when trying to run with
MadNLPLapackGPU.QR
orMadNLPLapackGPU.LU
. Thetril_to_full!()
function is only defined for objects of typeMatrix
, so the function doesn't work withCuArray
types on the GPU. An example script that results in this error is shown bleow.The text was updated successfully, but these errors were encountered: