We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_
1 parent 319f367 commit aa4a87cCopy full SHA for aa4a87c
src/variable.rs
@@ -160,7 +160,7 @@ impl Variable {
160
/// `Some(0.0)` - if the variable has been aggregated out or fixed in presolving.
161
/// `Some(f64)` - the reduced cost of the variable
162
///
163
- pub fn get_redcost(&self) -> Option<f64> {
+ pub fn redcost(&self) -> Option<f64> {
164
let rc = unsafe { ffi::SCIPgetVarRedcost(self.scip.raw, self.raw) };
165
// ? scip invalid
166
if rc == 1e100 {
0 commit comments