Showing posts with label Optimization. Show all posts
Showing posts with label Optimization. Show all posts

Jun 24, 2013

A book about Knapsack problem

You can download this ebook for free.

Knapsack Problems: Algorithms and computer Implementations

Download link: http://www.or.deis.unibo.it/knapsack.html  

Mar 31, 2013

Batch operation in AMPL

To speed up the operations, you may put the commands into a file, and run them all automatically by typing include and the filename. The following is an example batch file (routing.run):

reset;

model network.mod;

data network.dat;

option solver cplex;

solve;

display N;

display x;

So you run the optimization in AMPL command line:

ampl: include routing.run;