lemon/clp.h
changeset 1380 04f57dad1b07
parent 1270 dceba191c00d
child 1428 86a5b114a066
equal deleted inserted replaced
7:fbe3a2869e86 8:bbcedeb358f6
   149 
   149 
   150     ///Solves LP with barrier method.
   150     ///Solves LP with barrier method.
   151     SolveExitStatus solveBarrier();
   151     SolveExitStatus solveBarrier();
   152 
   152 
   153     ///Returns the constraint identifier understood by CLP.
   153     ///Returns the constraint identifier understood by CLP.
   154     int clpRow(Row r) const { return rows(id(r)); }
   154     int clpRow(Row r) const { return _rows(id(r)); }
   155 
   155 
   156     ///Returns the variable identifier understood by CLP.
   156     ///Returns the variable identifier understood by CLP.
   157     int clpCol(Col c) const { return cols(id(c)); }
   157     int clpCol(Col c) const { return _cols(id(c)); }
   158 
   158 
   159   };
   159   };
   160 
   160 
   161 } //END OF NAMESPACE LEMON
   161 } //END OF NAMESPACE LEMON
   162 
   162