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

Cannot retrieve constraint multipliers from solution_callback #30

Closed
abhyshr opened this issue May 14, 2020 · 4 comments
Closed

Cannot retrieve constraint multipliers from solution_callback #30

abhyshr opened this issue May 14, 2020 · 4 comments

Comments

@abhyshr
Copy link

abhyshr commented May 14, 2020

I am trying to access the constraint multipliers through solution_callback, but the multipliers array lam (and even the constraints arrays g) is NULL. Below is the debugging frame which shows that g and lam passed to solution_callback are NULL.

Process 56591 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x00000001001411f5 libopflow.dylib`OPFLOWHIOPInterface::solution_callback(this=0x000000010460a430, status=Solve_Success, n=24, xsol=0x000000010460d140, z_L=0x000000010460dd10, z_U=0x000000010460de10, m=36, g=0x0000000000000000, lam=0x0000000000000000, obj_value=5297.4067102865956) at opflow-hiop.cpp:441:18

This is with running the NewtonMDS solver.

I am missing setting something or does this need to be added to HIOP?

@cnpetra
Copy link
Collaborator

cnpetra commented May 14, 2020

needs to be added to HiOp

@cnpetra
Copy link
Collaborator

cnpetra commented May 15, 2020

as for a timeline for adding those, we're looking at 2-3 weeks

@abhyshr
Copy link
Author

abhyshr commented May 15, 2020

There's no hurry. I noticed this so I created an issue. Take your time, let me know once it is done.

@cnpetra
Copy link
Collaborator

cnpetra commented Jun 22, 2020

addressed by PR #45

@cnpetra cnpetra closed this as completed Jun 22, 2020
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

No branches or pull requests

2 participants