Solving LP models by using CPLEX

For core MicroCity and Lua module development

Solving LP models by using CPLEX

Postby sunzhuo » Sun Apr 18, 2010 6:54 pm

This standalone executable program use CPLEX engine to read and solve LP models which can be exported as mps files in MicroCity Script.

Requirement: CPLEX dynamic link library cplexXXX.dll
Usage: cplex filename optimizer
Where: filename is a file with extension MPS and optimizer is one of the following letters:
o default
p primal simplex
d dual simplex
n network with dual simplex cleanup
h barrier with crossover
b barrier without crossover
s sifting
c concurrent

For example, this command:
cplex example.mps d
reads the file example.mps and solves the problem with the dual simplex optimizer.
You do not have the required permissions to view the files attached to this post.
User avatar
sunzhuo
Site Admin
 
Posts: 9
Joined: Mon Oct 06, 2008 11:30 pm

Re: Solving LP models by using CPLEX

Postby sunzhuo » Thu May 03, 2012 12:24 am

this is for mixed integer problem
You do not have the required permissions to view the files attached to this post.
User avatar
sunzhuo
Site Admin
 
Posts: 9
Joined: Mon Oct 06, 2008 11:30 pm


Return to C/C++ Source Code

Who is online

Users browsing this forum: No registered users and 1 guest

cron