gbionics / gbionics/qpsolvers-eigen

Feature request: change size of constraints without manually re-creating the solver

Open
#2 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
38
Forks
5
PR merge metrics
No merged PRs in 30d

Description

As discussed with @giulioromualdi, it would be great to be able to change the size of the constraints without having to manually recreate the solver.

We could add the feature of automatically re-creating the solver under the hood if a user change the size of the constraints. As this feature is not supported by the underlying qp solvers, there still be a relative huge cost in recreating the solver instance, but the main advantage would be that there would be no need for the caller to manually set again all the settings.

On the qpsolvers-eigen side, we would just need to be able to save all the settings, to be able to set them again once the number of constraints change.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by tracing how constraint sizes and solver settings are stored in the qpsolvers-eigen abstraction, then review the underlying QP solver limitations; done means constraint-size changes recreate the solver while preserving its settings without requiring callers to reapply them.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.