Skip to content

Linear optimization is a mathematical programming technique to obtain the best result or outcome, like maximum profit or least cost, in a mathematical model whose requirements are represented by linear relationships.

Notifications You must be signed in to change notification settings

Nikita99Gupta/Linear-programming-in-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Linear-programming-in-Python

Linear optimization is a mathematical programming technique to obtain the best result or outcome, like maximum profit or least cost, in a mathematical model whose requirements are represented by linear relationships.

PuLP is one of many libraries in Python ecosystem for solving optimization problems.

To install -

through pip

pip install Pulp

through conda

conda install -c conda-forge pulp

Problem considered

Minimize : Z = 3x + 5y

Subject to the constraints:

2x + 3y >= 12

-x + y <= 3

x >= 4

y <= 3

x, y >= 0

About

Linear optimization is a mathematical programming technique to obtain the best result or outcome, like maximum profit or least cost, in a mathematical model whose requirements are represented by linear relationships.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages