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

Artificial variables in createMasterProblem cause crash in isParallel #22

Open
svigerske opened this issue Feb 26, 2019 · 3 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@svigerske
Copy link
Member

Issue created by migration from Trac.

Original creator: @mosu001

Original creation time: 2010-05-26 01:46:06

Version:

This is in version 0.8.6.

Artificial variables created at the end of the DW formulation in DecompAlgo::createMasterProblem in for loop starting at line 820 have a zero length column when being checked in DecompVarPool::isParallel. This causes a crash in while loop starting on line 98.

Recommend either changing while condition to

index2 < len2 && index1 < len1

or (if not too many comparisons wanted) take break statement

     if(index2 >= len2 || index1 >= len1)
        break;

out of if (j1==j2) block and placing directly after while(1)

@svigerske svigerske added bug Something isn't working major labels Feb 26, 2019
@svigerske
Copy link
Member Author

Comment by @tkralphs created at 2010-05-26 02:01:58

Version: 0.8.6

@svigerske
Copy link
Member Author

Comment by @mgalati13 created at 2010-05-26 18:11:50

Can you send me code so I can repeat the issue? Thanks, Matt (magh@lehigh.edu)

@svigerske
Copy link
Member Author

Comment by @mgalati13 created at 2010-09-04 03:38:29

Is this still an issue? If so, please send me code that repeats the issue.

@tkralphs tkralphs removed the major label Jul 27, 2019
@tkralphs tkralphs self-assigned this Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants