Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Linear programming modeling examples in Object Pascal...

13 views
Skip to first unread message

aminer

unread,
Dec 26, 2011, 2:50:52 PM12/26/11
to


Hello,


Description:

Linear programming modeling examples in Object Pascal. Please look
inside the zip at the example SP.pas (shortest-path problem) in Object
Pascal, i have also provided you with FastCLP a software that is
faster than LPSolve. Please look at the sp.pas inside the zip on how
to use FastCLP , compile and execute it...

And please read more here:

http://pages.videotron.com/aminer/lp/linear.htm

You can download the examples and the FastCLP software from:

http://pages.videotron.com/aminer/


Language: FPC Pascal v2.2.0+ / Delphi 5+: http://www.freepascal.org/

Operating Systems: Win , (x86).
Required FPC switches: -O3 -Sd -dFPC -dWin32 -dFreePascal

-Sd for delphi mode....

Required Delphi switches: -DMSWINDOWS -$H+ -DDelphi



Regards,

Amine Moulay Ramdane.


aminer

unread,
Dec 26, 2011, 3:06:57 PM12/26/11
to

Hello,

I have included the shorted-path problem , but i will include more
examples
in the near future...


And if you want to know how to use the APIs of LPSolve you have to
download the help file of LPSolve , but here is a link to the help
file:

http://lpsolve.sourceforge.net/5.5/


And if you want to use the freeware FastCLP that i have included ,
that is faster
than LPSolve, there is only one function in FastCLP and it's:
fastclp(name1,name2);

name1 is the name of the MPS file
and name2:is the name of the output file where the results will be
wrote




Regards,
Amine Moulay Ramdane.

aminer

unread,
Dec 26, 2011, 4:56:25 PM12/26/11
to

Hello,

I have deleted FastCLP from my zip file, cause it does take too much
space,
and i have only let the LPSolve library inside the zip, but the
examples that
i have included do generate and MPS file , so you can use a faster
software
than LPSolve , example SCIP or CLP from COIN-OR , and just pass them
the ouput MPS file that the LPSolve library does generate and they
will
execute them without any problem...


Welcome: http://pages.videotron.com/aminer/



Regards,
Amine Moulay Ramdane.
Message has been deleted
0 new messages