question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Parse near_optimal results in SP

See original GitHub issue

I’m debugging a SP model and the first solve GP solve returns this solution status

Interior-point solution summary
  Problem status  : PRIMAL_AND_DUAL_FEASIBLE
  Solution status : NEAR_OPTIMAL
  Primal.  obj: 1.1998763649e+01    Viol.  con: 3e-02    var: 0e+00  
  Dual.    obj: 1.2009877944e+01    Viol.  con: 0e+00    var: 7e-02  
* End solution on dual form. *

it looks like we currently don’t store any solution that isn’t both primal and dual feasible as well as optimal. I would like to access the near optimal solution and generate a table so I try and figure out what is going on.

I spoke to Woody and he had the idea that we should store all non-optimal solutions under an attribute like failed_solution…thoughts?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:25 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
bqpdcommented, Feb 8, 2017

dict(zip(m.program.gps[-1].varlocs, np.exp(m.program.gps[-1].solver_out["primal"])))

1reaction
mayorkcommented, Feb 6, 2017

any updates on this? I think it would be very useful for debugging the near_feasible model

Read more comments on GitHub >

github_iconTop Results From Across the Web

Basic-class-guide-4-24-19.pdf
Resulting in Personal. Transformation supporting general well being (a personalized journey unlike that of anyone else). 17. WHAT WE NOTICE ABOUT A HEALTHY ......
Read more >
Neurofeedback Results: My Experience with NeurOptimal®
Training with neurofeedback has the potential to improve many different emotional and cognitive skills. It is an excellent brain training tool ...
Read more >
Neurofeedback - Mount North Counseling & Consulting
Mount North offers NeurOptimal Neurofeedback at home. ... period to review any questions and one after the NeurOptimal is returned to review your...
Read more >
NeurOptimal Neurofeedback Training For The Whole Family
The sensors feed the brain's activity to the NeurOptimal ® software and NeurOptimal ® creates a feedback loop by disrupting audio output when...
Read more >
What Happens in a NeurOptimal Session?
Brain training with NeurOptimal® is learning a new, more effective, way of being. You see results because your brain is actively learning, even...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found