COIN-OR::LEMON - Graph Library

Changeset 1895:5b01801efbc0 in lemon-0.x for test


Ignore:
Timestamp:
01/14/06 09:44:59 (18 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
  • test/lp_test.cc

    r1797 r1895  
    2828  //  for(int i=0;i<10;i++) x.push_back(lp.addCol());
    2929  lp.addColSet(x);
    30 
     30  lp.colLowerBound(x,1);
     31  lp.colUpperBound(x,1);
     32  lp.colBounds(x,1,2);
    3133#ifndef GYORSITAS
    3234
    3335  std::vector<LP::Col> y(10);
    3436  lp.addColSet(y);
     37
     38  lp.colLowerBound(y,1);
     39  lp.colUpperBound(y,1);
     40  lp.colBounds(y,1,2);
    3541
    3642  std::map<int,LP::Col> z;
     
    4046  z.insert(std::make_pair(7,INVALID));
    4147  z.insert(std::make_pair(5,INVALID));
    42  
     48
    4349  lp.addColSet(z);
     50
     51  lp.colLowerBound(z,1);
     52  lp.colUpperBound(z,1);
     53  lp.colBounds(z,1,2);
    4454
    4555  {
Note: See TracChangeset for help on using the changeset viewer.