# Linear Programming using GLPK (GNU Linear Programming Kit)

Simple Examples – Linear Programming

I started to develop an interest in Linear Programming problem solving. But what is Linear Programming and what sort of problems can be solved? Quick wikipedia search: “Linear programming (LP, also called linear optimization) is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements are represented by linear relationships. Linear programming is a special case of mathematical programming (mathematical optimization).”

Well I discovered a light weight library for C++ called GNU Linear Programming Kit, short GLPK, including the following main components:

– primal and dual simplex methods
– primal-dual interior-point method
– branch-and-cut method
– translator for GNU MathProg
– application program interface (API)
– stand-alone LP/MIP solver

And a set of real life example problems on slideshare, right here, which I will solve using GLPK:

Have a look and let me know what you think!

1. Jerome Vey

Seattle Colleges hosted a sequence of Household Math Nights to help parents and
college students study upcoming changes and challenges
to the Seattle Public Faculty Mathematics Curriculum https://math-problem-solver.com/ .

Mathematics training as a powerful indicator of technological development.

• Oh wow, thats fantastic, thank you for sharing this!

2. Miguel

Hi, just a short clarification: GLPK “… is a set of routines written in ANSI C and organized in the form of a callable library…” so is written in C rather than C++ (these are two different programming languages).
Best
MP

• Ah, thanks for clarifying! Where should this be added in your opinion? – I didn’t say otherwise, did I? ðŸ™‚