Skip to content

Commit

Permalink
add const variant of IpoptData::TimingStats()
Browse files Browse the repository at this point in the history
- requested in coin-or#611
  • Loading branch information
svigerske committed Oct 19, 2022
1 parent f962e05 commit 08453ea
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ More detailed information about incremental changes can be found in the

## 3.14

### 3.14.11 (20xx-yy-zz)

- Added `IpoptData::TimingStats() const` [#611]

### 3.14.10 (2022-10-11)

- Added option `grad_f_constant` to specify that objective function is linear.
Expand Down
9 changes: 9 additions & 0 deletions src/Algorithm/IpIpoptData.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,15 @@ class IPOPTLIB_EXPORT IpoptData: public ReferencedObject
return timing_statistics_;
}

/** Return Timing Statistics Object
*
* @since 3.14.11
*/
const TimingStatistics& TimingStats() const
{
return timing_statistics_;
}

/** Check if additional data has been set */
bool HaveAddData()
{
Expand Down

0 comments on commit 08453ea

Please sign in to comment.