Skip to content

Commit

Permalink
Minor enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
mmghannam committed Jul 29, 2024
1 parent e63140a commit 658d9d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
//! assert!((lp.obj_val() - 5.0).abs() < 1e-6);
//!
//!
//! // After solving you need to return the `SolvedModel` object to a `Model` object as in
//! // the example below.
//! let mut lp = Model::from(lp); // Convert the solved model back to a mutable one
//! // After solving you need to return the `SolvedModel` object to a `Model` object.
//! // Then you can add or remove columns and rows and optimize again.
//! let mut lp = Model::from(lp);
//! lp.remove_row(row);
//! assert_eq!(lp.num_rows(), 0);
//! let lp = lp.optimize();
Expand Down

0 comments on commit 658d9d5

Please sign in to comment.