Changeset 1153:4b0468de3a31 in lemon-0.x for src/work/marci/lp
- Timestamp:
- 02/17/05 16:14:13 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1554
- Location:
- src/work/marci/lp
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/lp/lp_solver_base.h
r1152 r1153 620 620 /// \e 621 621 virtual void _setColInt(int i) = 0; 622 /// \e 623 virtual _Value _getMIPPrimal(int i) = 0; 622 624 public: 623 625 /// \e … … 628 630 void setColInt(Col col) { 629 631 _setColInt(col_iter_map[col]); 632 } 633 /// \e 634 _Value getMIPPrimal(Col col) { 635 return _getMIPPrimal(col_iter_map[col]); 630 636 } 631 637 //@} … … 1097 1103 protected: 1098 1104 /// \e 1099 void _setColCont(int i) {lpx_set_col_kind(lp, i, LPX_CV); } 1100 /// \e 1101 void _setColInt(int i) {lpx_set_col_kind(lp, i, LPX_IV); } 1105 void _setColCont(int i) { lpx_set_col_kind(lp, i, LPX_CV); } 1106 /// \e 1107 void _setColInt(int i) { lpx_set_col_kind(lp, i, LPX_IV); } 1108 /// \e 1109 double _getMIPPrimal(int i) { return lpx_mip_col_val(lp, i); } 1102 1110 }; 1103 1111 -
src/work/marci/lp/makefile
r1104 r1153 6 6 LDFLAGS = -lglpk#-lcplex -lm -lpthread -lilocplex -L/usr/local/cplex/cplex75/lib/i86_linux2_glibc2.2_gcc3.0/static_mt# -L$(GLPKROOT)/lib 7 7 8 BINARIES = ma x_flow_expression expression_test max_flow_by_lp# sample sample2 sample11 sample158 BINARIES = magic_square max_flow_expression expression_test max_flow_by_lp# sample sample2 sample11 sample15 9 9 10 10 #include ../makefile
Note: See TracChangeset
for help on using the changeset viewer.