-
Notifications
You must be signed in to change notification settings - Fork 110
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
Problem in CoinFactorization::pivotOneOtherRow when adding a constraint that contains a variable more than once #121
Comments
Still an issue with current Cbc/master (or CoinUtils/master). @jjhforrest Is this something that would be easy to fix? |
Checked lp file for duplicates |
There is something not yet correct with your changes in CoinUtils (r2117).
The number of duplicates seems a bit high. Under valgrind, I get
In the new code, for (int iRow = 0;iRow<numberRows_+cnt_obj;iRow++) {
CoinBigIndex startRow = start[iRow];
CoinBigIndex endRow = start[iRow+1];
for (CoinBigIndex j=startRow;j<endRow;j++) { it seems that |
Don't know code well - so misunderstood way objective/rows were stored. Looks okay now. |
Issue created by migration from Trac.
Original creator: falk
Original creation time: 2011-12-06 17:49:15
Assignee: @tkralphs
(I posted this on the mailing list before)
Maybe this is not a valid .lp file, but cbc probably shouldn't crash.
The text was updated successfully, but these errors were encountered: