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

Incorrect indexing on binary variables in bonmin #124

Closed
johanlofberg opened this issue Aug 7, 2013 · 0 comments
Closed

Incorrect indexing on binary variables in bonmin #124

johanlofberg opened this issue Aug 7, 2013 · 0 comments
Assignees
Labels

Comments

@johanlofberg
Copy link
Member

The index to the binary variables are not transformed to point to the linear indices when numerical model is compiled

yalmip('clear')
sdpvar x
y = cos(x);
binvar z
solvesdp([x+z>=0],y,sdpsettings('solver','bonmin'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant