Skip to content

Commit

Permalink
Report dual objective values (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
goulart-paul committed Feb 26, 2024
1 parent 232b865 commit e3e8b04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/python/impl_default_py.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ pub struct PyDefaultSolution {
#[pyo3(get)]
pub obj_val: f64,
#[pyo3(get)]
pub obj_val_dual: f64,
#[pyo3(get)]
pub solve_time: f64,
#[pyo3(get)]
pub iterations: u32,
Expand All @@ -66,6 +68,7 @@ impl PyDefaultSolution {
s,
z,
obj_val: result.obj_val,
obj_val_dual: result.obj_val_dual,
status,
solve_time: result.solve_time,
iterations: result.iterations,
Expand Down

0 comments on commit e3e8b04

Please sign in to comment.