Skip to content

Adds support for sqrtm in gurobinonlinear. #1500

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

Merged
merged 1 commit into from
Jul 4, 2025

Conversation

tholden
Copy link
Contributor

@tholden tholden commented Jul 4, 2025

Gurobi's genconpow needs support more generally, but at present it seems harder for me to implement, as YALMIP thinks Gurobi can't handle signomials in constraints or objectives, so it never gets as far as yalmip2gurobinonlinear.

@tholden
Copy link
Contributor Author

tholden commented Jul 4, 2025

I know that sqrt can also be implemented by squaring both sides of the equality to make a non-convex quadratic constraint. But it wasn't obvious to me that that would necessarily perform better, so I wanted to test both options.

@johanlofberg johanlofberg merged commit 3faeeca into yalmip:develop Jul 4, 2025
0 of 7 checks passed
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.

2 participants