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

Tests for Variable and Constraint return values #10

Closed
ccoffrin opened this issue Aug 24, 2016 · 1 comment
Closed

Tests for Variable and Constraint return values #10

ccoffrin opened this issue Aug 24, 2016 · 1 comment

Comments

@ccoffrin
Copy link
Member

Once #9 is resolved, the number of elements returned from all variable_* calls should be exactly equal to the variables in the JuMP model. And a similar property should be true for the constraint_* calls.

A simple and generic way to test the return value implementation correctness is to test that the total number of returned constraints and variables are consistent with the internal JuMP model.

@ccoffrin
Copy link
Member Author

Not longer relevant as of #158

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

No branches or pull requests

1 participant