Archive for May, 2009



Problem definition:
Given your balance, pick a subset of upgrades such that summation of Power, Traction and Aerodynamics are maximized and summation of costs doesn’t exceed balance. Problem can be found on this page: http://apps.facebook.com/motorcycle_madness/upgrade.php
Solution:
We will use linear programming method. Let’s use an example here. For the initial problem:
Balance: $73,845
Upgrades available:

Finally I could pack this up and second version is ready.
This is a all-in-one solution for those who are tired or scared of downloading/compiling/fixing SDL and SDL libraries for Pocket PC. I have gathered some handy libraries into a VS2008 solution and all files you need are compiled without any pain. I also provide binaries [...]