I have an LP problem. The model size is about 4500rows and 17000cols. I call vbasis and cbasis to get the base matrix of the model, and find that the number of rows and columns of the base matrix are inconsistent
In line 760, x represents variables, c1 represents all added constraints.
Finally, the values of validVar and validCol are 376 and 1718 respectively.I have the following questions
1. In my opinion, validVar and validCol represent the number of rows and columns of the base matrix, right？
2. I checked the user manual to see if there are some relaxation variables that are also base variables, which leads to the above phenomenon. Is this correct?
3. If 2 is correct, is it possible to obtain the base matrix containing only the variables I added.
4. Is there any interface in c++that can directly obtain the base matrix of the model?
Please sign in to leave a comment.