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

Added conversion between julia infs and QPALM infs in the problem bounds #5

Merged
merged 2 commits into from
Aug 30, 2019

Conversation

MassimoDeMauri
Copy link
Contributor

The conversion was performed in setup and not in update!. So in the case in which the user would setup a model, then update it and finally solve it, the solve method would fail due to NaNs in the bounds.

@@ -176,6 +176,10 @@ function update!(
)
end

# Convert lower and upper bounds from Julia infinity to OSQP infinity
Copy link
Member

Choose a reason for hiding this comment

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

you mean QPALM? :-)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah sorry, I merged this just a second ago. Will fix in a sec.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah in fact, it was your fault Lorenzo as this comment came directly from the setup wrapper :-)

@Benny44 Benny44 merged commit 959fceb into kul-optec:master Aug 30, 2019
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.

3 participants