-
Notifications
You must be signed in to change notification settings - Fork 20
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
C++ Hello World - Segmentation Fault #134
Comments
Up? |
The seg fault was because the matrix you constructed was row-ordered, but MibS expects a column-ordered matrix for some reason. This is obviously not carefully documented and shouldn't be required in any case. For some reason, we are using the
before the call to
after results in what seems to be a correct solve call returning
|
@yuxies Can you take a look at a fix for this? It should be easy to check if the ordering is correct and to reverse it if not. |
Hello,
I am trying to build a minimal example for using MibS with C++.
Context
I am trying to model the following problem using the C++ API:
Setting
My Attempt
So far, I have tried with the following code.
Quesitons and Problems
Segmentation Fault
when running this code. This happens in the call ofloadProblemData
and, in particular, seems to be insetUpperRowData
.structRowXX
relate to ?Thank you,
Henri.
The text was updated successfully, but these errors were encountered: