Algorithms For Dummies


Using Linear Programming in Practice



Download 7,18 Mb.
Pdf ko'rish
bet582/651
Sana15.07.2021
Hajmi7,18 Mb.
#120357
1   ...   578   579   580   581   582   583   584   585   ...   651
Bog'liq
Algorithms

Using Linear Programming in Practice

The best way to start in linear programming is to use predefined solutions, rather 

than create custom applications on your own. The first section that follows helps 

you install a predefined solution used for the examples that follow.

When  working  with  a  software  product,  you  may  find  significant  differences 

between open source software and commercial packages. Although open source 

software offers a wide spectrum of algorithms, performance could be disappoint-

ing on large and complex problems. Much art is still involved in implementing 

linear programming algorithms as part of working software, and you can’t expect 

open source software to run as fast and smoothly as commercial offerings.

Even so, open source provides some nice options for learning linear program. The 

following sections use an open source Python solution named PuLP that allows 

you to create linear programming optimizations after defining a cost function and 

constraints as Python functions. It’s mostly a didactical solution, suitable to help 

you  test  how  linear  programming  works  on  some  problems  and  get  insight  on 

formulating problems in math terms.

PuLP provides an interface to the underlying solver programs. Python comes with 

a default, open source, solver program that PuLP helps you access. The perfor-

mance  (speed,  accuracy,  and  scalability)  that  PuLP  provides  depends  almost 

entirely on the solver and optimizer that the user chooses. The best solvers are 

commercial products, such as CPLEX (

https://en.wikipedia.org/wiki/CPLEX

), 

XPRESS (


https://en.wikipedia.org/wiki/FICO_Xpress

), and GuRoBi (

https://

en.wikipedia.org/wiki/Gurobi

), which provide a huge speed advantage when 

compared to open source solvers.




Download 7,18 Mb.

Do'stlaringiz bilan baham:
1   ...   578   579   580   581   582   583   584   585   ...   651




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2025
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish