COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
04/11/05 17:46:14 (15 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1778
Message:

A little has been done. Some important questions arised.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/athos/lp/lp_cplex.cc

    r1319 r1339  
    110110  {
    111111    //TODO Ezt kell meg megirni
    112     //    Value lo=CPX
     112    //type of the problem
     113    char sense[1];
     114    status = CPXgetsense (env, lp, sense, i, i);
     115    Value rhs[1];
     116    status = CPXgetrhs (env, lp, rhs, i, i);
     117
     118    switch (sense[0]) {
     119    case 'L'://<= constraint
     120      break;
     121    case 'E'://= constraint
     122      break;
     123    case 'G'://>= constraint
     124      break;
     125    case 'R'://ranged constraint
     126      break;
     127    default: ;
     128      //FIXME error
     129    }
     130
     131    status = CPXchgcoef (env, lp, i, -2, value_rng);
    113132  }
    114133 
Note: See TracChangeset for help on using the changeset viewer.