Skip to content

Commit

Permalink
pass full current solution to FinalizeSolution() also if timelimit re…
Browse files Browse the repository at this point in the history
…ached

- fixes coin-or#552
  • Loading branch information
svigerske committed Feb 7, 2022
1 parent 161b935 commit c967728
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ More detailed information about incremental changes can be found in the
### 3.14.5 (202x-yy-zz)

- Tried to fix recognition of JNI headers on macOS >= 11 [#516].
- Fixed that only primal variable values where passed to finalize_solution()
when a timelimit was reached [#552].

### 3.14.4 (2021-09-20)

Expand Down
2 changes: 2 additions & 0 deletions src/Interfaces/IpIpoptApplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,8 @@ ApplicationReturnStatus IpoptApplication::call_optimize()
{
case SUCCESS:
case MAXITER_EXCEEDED:
case CPUTIME_EXCEEDED:
case WALLTIME_EXCEEDED:
case STOP_AT_TINY_STEP:
case STOP_AT_ACCEPTABLE_POINT:
case LOCAL_INFEASIBILITY:
Expand Down

0 comments on commit c967728

Please sign in to comment.