COIN-OR::LEMON - Graph Library

Changeset 2366:bfbdded3763a in lemon-0.x for lemon/mip_cplex.cc


Ignore:
Timestamp:
02/16/07 20:11:31 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3181
Message:

Using const in lp interface
colByName functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/mip_cplex.cc

    r2267 r2366  
    5959  }
    6060 
    61   MipCplex::ColTypes MipCplex::_colType(int i){
     61  MipCplex::ColTypes MipCplex::_colType(int i) const {
    6262   
    6363    char ctype[1];
     
    8686
    8787
    88   LpCplex::SolutionStatus MipCplex::_getMipStatus(){
     88  LpCplex::SolutionStatus MipCplex::_getMipStatus() const {
    8989
    9090    int stat = CPXgetstat(env, lp);
     
    120120  } 
    121121
    122   MipCplex::Value MipCplex::_getPrimal(int i){
     122  MipCplex::Value MipCplex::_getPrimal(int i) const {
    123123    Value x;
    124124    CPXgetmipx(env, lp, &x, i, i);
     
    126126  }
    127127 
    128   MipCplex::Value MipCplex::_getPrimalValue(){
     128  MipCplex::Value MipCplex::_getPrimalValue() const {
    129129    Value objval;
    130130    status = CPXgetmipobjval(env, lp, &objval);
Note: See TracChangeset for help on using the changeset viewer.