Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use C interface to get constraint dimension #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FreyJo
Copy link

@FreyJo FreyJo commented Jun 17, 2024

No description provided.

@adrian-kriegel
Copy link
Owner

Thanks for the PR. I can't find any doc on ocp_nlp_dims_get_from_attr but I know that you know what you are doing :-)

@adrian-kriegel
Copy link
Owner

Sorry, the change does not compile (missing semicolon). But even with the semicolon, the tests don't pass.

error: ocp_nlp_dims_get_from_attr: field nbx not available

@FreyJo
Copy link
Author

FreyJo commented Jun 19, 2024

Hi,
Sorry for the missing semicolon and not testing it.
I just wanted to point out that the code in place is not the C interface of acados but rather part of the core.
The function does expect the name of a numerical array to be set, like lbx.
We could add the names of dimensions in that function as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants