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

Fix constraint name mapping for inequalities. #570

Conversation

danieloliveira56
Copy link
Contributor

Here, I refer to a set of constraints by it's cardinality. In lines 562 to 607, 4 maps are created:

  • c_map: from nc to n_full_g_
  • d_map: from n_d to n_full_g_
  • d_l_map: from n_d_l to n_d
  • d_u_map: from n_d_u to n_d

So to retrieve the name of some inequality with only lower bounds, we need to lookup it's index in n_d using d_l_map and then lookup the found index in n_full_g_ using d_map, since no map from n_d_l to n_full_g was created.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Daniel Dias seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@svigerske svigerske changed the base branch from stable/3.14 to fix-con-meta-mapping April 1, 2022 07:55
@svigerske
Copy link
Member

Thank you very much for digging into this.

@svigerske svigerske merged commit 3e1088e into coin-or:fix-con-meta-mapping Apr 1, 2022
@tkralphs
Copy link
Member

tkralphs commented Apr 1, 2022

It would be good to get the CLA stuff sorted out.

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.

4 participants