MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / getColumnValue

Method getColumnValue

src/openms/source/DATASTRUCTURES/LPWrapper.cpp:676–684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

674 }
675
676 double LPWrapper::getColumnValue(Int index)
677 {
678#if COINOR_SOLVER == 1
679 return solution_[index];
680#else
681 // glpk uses arrays beginning at pos 1, so we need to shift
682 return glp_mip_col_val(lp_problem_, index + 1);
683#endif
684 }
685
686 double LPWrapper::getColumnUpperBound(Int index)
687 {

Callers 5

optimizeMethod · 0.80
computeSlice_Method · 0.80
computeSliceOld_Method · 0.80
LPWrapper_test.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected