These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Compression Calculator - Linear programming.

Author
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#1 - 2014-03-06 22:49:39 UTC
http://www.fuzzwork.co.uk/compression/

Give it what you want to compress, along with the maximums you're willing to accept (-1 for unlimited)

Get a list of modules to minimize the volume.

https://github.com/fuzzysteve/compression

uses LP solve

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Manhim
Garoun Investment Bank
Gallente Federation
#2 - 2014-03-07 00:11:36 UTC  |  Edited by: Manhim
This is so awesome!

Only things I'd add:

- The minerals those will need
- The actual minerals that it will give
- The extra materials that will be lost
- Set a % rather then an amount for extras that I'd be willing to accept (Or make it an option?)

Also, I guess that those informations are for perfect blueprints?

EDIT -> Going to github.
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#3 - 2014-03-07 00:37:43 UTC  |  Edited by: Steve Ronuken
Manhim wrote:
This is so awesome!

Only things I'd add:

- The minerals those will need
- The actual minerals that it will give
- The extra materials that will be lost
- Set a % rather then an amount for extras that I'd be willing to accept (Or make it an option?)

Also, I guess that those informations are for perfect blueprints?

EDIT -> Going to github.



That's for perfect refining. It doesn't tell you how much in the way of minerals you'll need to buy to make them, just how modules you'll need to buy/build. For the 'need' it's a trifle more complicated. I'll have to think about the numbers needed ML wise (I'll probably work up some basic levels)

I'll see about the numbers you'll get out at the end (assuming refine)

The % is useful for the large numbers, it's not so useful for small numbers, and it's 'useless' for materials where you aren't asking for any.

The github code is mostly interface code. It doesn't include the library that does the actual meat and potatoes work, which is lpsolve http://sourceforge.net/projects/lpsolve/





(Linear programming is neat. you just have to formulate the problem in terms of a whole bunch of equations for it to solve, along with another equation which defines your overall goal (minimizing, maximizing, etc)

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter