COIN-OR::LEMON - Graph Library

Changeset 1895:5b01801efbc0 in lemon-0.x for lemon/lp_cplex.cc


Ignore:
Timestamp:
01/14/06 09:44:59 (14 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2470
Message:
  • colName() added (untested on CPLEX)
  • possibility to set lower/upper bounds of several cols at once
  • setObj() -> obj()
  • setRow() -> row()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_cplex.cc

    r1875 r1895  
    8181    CPXdelrows(env, lp, i, i);
    8282  }
    83 
     83 
     84  void LpCplex::_getColName(int col, std::string &name)
     85  {
     86    ///\bug Unimplemented
     87  }
     88 
     89  void LpCplex::_setColName(int col, const std::string &name)
     90  {
     91    ///\bug Untested
     92    CPXchgcolname(env, lp, 1, &col, const_cast<char*>(name.c_str()));
     93  }
    8494 
    8595  ///\warning Data at index 0 is ignored in the arrays.
Note: See TracChangeset for help on using the changeset viewer.