Skip to content

Commit

Permalink
Merge pull request #302 from fabinsch/fix-settings-feasible-qp-layer
Browse files Browse the repository at this point in the history
Set `primal_infeasibility_solving` to False for feasible forward in `QPFunction`
  • Loading branch information
jcarpent authored Feb 13, 2024
2 parents 4540213 + 1265b0c commit e0ee3c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

### What's Changed
* Changed `primal_infeasibility_solving` to `False` for feasible QPs ([#302](https://github.com/Simple-Robotics/proxsuite/pull/302))

## [0.6.3] - 2024-01-23

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/proxsuite/torch/qplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def forward(ctx, Q_, p_, A_, b_, G_, l_, u_):

for i in range(nBatch):
qp = ctx.vector_of_qps.init_qp_in_place(ctx.nz, ctx.neq, ctx.nineq)
qp.settings.primal_infeasibility_solving = True
qp.settings.primal_infeasibility_solving = False
qp.settings.max_iter = maxIter
qp.settings.max_iter_in = 100
default_rho = 5.0e-5
Expand Down

0 comments on commit e0ee3c7

Please sign in to comment.