Skip to content

A C++ which can solve a linear programming problem through graphical method.

License

Notifications You must be signed in to change notification settings

avirlrma/Lpp-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LPP Solver

I created this for an assignment of Course MAN-010.It solves the LPP(Linear Programming Problem) in two variables using the graphical method.

It uses the graphics.h library of C to create graphics.It supports constraints of "less than equal to" type only.And gives the maximum value of the objective function and also highlights the feasible region!

How to run?

  • Go through this blog to install graphics.h.
  • Run this command g++ main.cpp -o YO -lgraph.
  • And ./Yo

How to give Input?

  • Input the coefficents of objective function.
  • Input the number of constraints.
  • Input the coefficents of constraints.

Screenshot :

alt text

To Do

  • Add suport of "greater than equal to" type constraints.

About

A C++ which can solve a linear programming problem through graphical method.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages