Showing posts with label CoinUtils. Show all posts
Showing posts with label CoinUtils. Show all posts

Sunday, March 6, 2011

two ways to read mps file into matrix

1. COIN OSI

2. COIN MODEL

Example Makefile for using CoinUtils library

EXE = matrix
INCL = /home/jiw508/coin-CoinUtils/build-debug/include/coin
LIB1 = /home/jiw508/coin-CoinUtils/build-debug/lib/coin/libCoinUtils.a
LIB2 = /usr/lib/liblapack.so
all : $(EXE)
$(EXE) : matrix. cpp
              g++ -g matrix.cpp -I $(INCL)  $(LIB1) $(LIB2) -o $(EXE)