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

Xpress NLP solver implementation (#205) #206

Closed
wants to merge 3 commits into from
Closed

Xpress NLP solver implementation (#205) #206

wants to merge 3 commits into from

Conversation

joaquimg
Copy link
Member

No description provided.


# Passing constraints to the solver
for i in 0:length(model.nlp_constraint_info)-1
Lib.XPRSnlpchgformulastring(model.inner, Cint(i), join(["+"," ",to_str(model.nlp_constraint_info[i+1].expression)]))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For realz? The API is to pass it as a string?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, there is a tape. we were lazy though.

@odow
Copy link
Member

odow commented Apr 3, 2024

Closing in favor of #255

@odow odow closed this Apr 3, 2024
@odow odow deleted the jg/nlp branch June 22, 2024 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants