gbionics / gbionics/osqp-eigen

After setting Primal and Dual variables, retriving them returns all zeros

Open
#223 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
503
Forks
133
PR merge metrics
No merged PRs in 30d

Description

There seems to be a discrepancy between how these are stored and retrieved. I am using the setWarmStart to set both the initial primal and dual variable values but then I use the getPrimalVariable and getDualVariable methods to confirm they are set and it is returning all zeros. Should this be the case after setting the warm start values?

Contributor guide

No contributing guide indexed for this repository

Research direction

The reported entry points are setWarmStart, getPrimalVariable, and getDualVariable; start by tracing how warm-start values are stored and how each getter retrieves them. Reproduce the all-zero result with the reported primal and dual setup, then confirm whether the getters return the supplied values or establish the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.