Mathematical optimization RPG

Mathematical optimization RPG

It is a problem that solves the problem of mathematical optimization in a Role Playing Game (RPG) style. It's like Code Puzzle --Nintendo.

Contents

You are an adventurer in the Labyrinth of Combinatorial Optimization in The World of Mathematical Optimization. The labyrinth consists of 5 levels, and you cannot proceed unless you solve the problems raised by the bosses on each level. Now, let's go find the hidden treasure at the bottom.

--Use Python's mathematical optimization package PuLP to solve all five combinatorial optimization problems. ――The problems are all simple. (Within 8 lines in the program. It is difficult to calculate manually) -PuLP cheat sheet (PuLP cheat sheet)

pulp.png

Postscript

I made it work on heroku.

Announcement of results of trial release version

Boss 1 Several people
Boss 2 0 people
Boss 3 0 people
Boss 4 0 people
Boss 5 0 people

It was at all. .. ..


Future execution method (old)

Open localhost: 5000 in your browser as follows in Docker.

docker


docker run -it --rm -p 5000:5000 tsutomu7/optrpg

that's all

Recommended Posts

Mathematical optimization RPG
Machine learning and mathematical optimization
Mathematical Optimization Modeler (PuLP) Cheat Sheet (Python)
Recommendation optimization
[Mathematical optimization problem] Linear programming using PuLP
[2nd] Learning typical problems-Study materials for learning mathematical optimization