Skip to content

Commit

Permalink
Refactors SAP solver in prep for the propagation of gradients (#21414)
Browse files Browse the repository at this point in the history
There are essentially two changes:
  1. struct SolverStats is no longer nested in SapSolver but is now
     refactored to SapSolverStats.
  2. SapSolver<T>::model_ is not longer a member. A SapModel is now
     created with each call to SolveWithGuess. We pass "model" as
     needed by argument.
  • Loading branch information
amcastro-tri authored May 13, 2024
1 parent 7366866 commit e94c357
Show file tree
Hide file tree
Showing 3 changed files with 225 additions and 184 deletions.
Loading

0 comments on commit e94c357

Please sign in to comment.