Code Monkey home page Code Monkey logo

kantorotanium's Introduction

kantorotanium

Eve Online: optimize compressed ore purchases

Leonid Vitaliyevich Kantorovich (Russian: Леони́д Вита́льевич Канторо́вич) (19 January 1912 – 7 April 1986) was a Soviet mathematician and economist, known for his theory and development of techniques for the optimal allocation of resources. He is regarded as the founder of linear programming. He was the winner of the Stalin Prize in 1949 and the Nobel Memorial Prize in Economic Sciences in 1975.
https://en.wikipedia.org/wiki/Leonid_Kantorovich

Let's say you want to wind up with a certain amount of minerals, but don't know how much compressed ore to buy in Jita. Kantorotanium will give you output you can shove into a multibuy window.

Unlike other ore optimizers, this one never gives you "impossible" output by telling you to buy 10,000 units of something that has only 100 units available. Each order on the market becomes its own constraint in the optimization problem.

TODOs

  • An actual user interface of any sort (right now you need to edit the source to provide problem input)
  • When webapp-ifying, split the market order cache update into a cronjob, and also expose the last-update time in the webapp
  • Allow multiple specifications of refining efficiency
  • Support locations other than Jita 4-4 CNAP
  • Re-evalaute the rounding (for cheaper ores, rounding to the nearest ISK is probably doing us a disservice)

Sample output

Yielding:
1234526816x Tritanium (excess of 14402)
100034466x Pyerite (excess of 132)
1001231x Mexallon (excess of 1)
601344x Isogen (excess of 912)
500716x Noxcium (excess of 372)
57516x Zydrine (excess of 26284)
0x Megacyte (excess of 0)


INPUT TO MULTIBUY:

2068419x Compressed Concentrated Veldspar
403430x Compressed Condensed Scordite
455x Compressed Crokite
661766x Compressed Dense Veldspar
306832x Compressed Massive Scordite
426x Compressed Onyx Ochre
40x Compressed Pristine Jaspet
3081x Compressed Pyroxeres
49501x Compressed Scordite
5477x Compressed Solid Pyroxeres
540667x Compressed Veldspar
17211x Compressed Viscous Pyroxeres
1236x Compressed Vivid Hemorphite


Total price: 14,850,373,413

kantorotanium's People

Contributors

cdanis avatar

Watchers

 avatar  avatar

kantorotanium's Issues

sometimes it makes sense to output multiple multibuys

Multibuy uses the lowest uniform price for a given thing, but that means you're often wasting a bunch of ISK paying the highest-bidder price to the lower sell orders.

After optimizing, it'd make sense to split things into 2-3 multibuys at most, trading off between # of clicks and extraneous ISK spent

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.