Simple-Robotics / proxsuite

The Advanced Proximal Optimization Toolbox
BSD 2-Clause "Simplified" License
414 stars 50 forks source link

Set `primal_infeasibility_solving` to False for feasible forward in `QPFunction` #302

Closed fabinsch closed 9 months ago

fabinsch commented 9 months ago

For QPFunction, we accept a parameter called structural_feasibility which defaults to True. Based on this, we will either use the class QPFunctionFn or QPFunctionFn_infeas with their corresponding forward and backward methods.

If we decide, that the QPs to solve are structurally feasible, it is consistent to set primal_infeasibility_solving to False.