Thell / bdo-empire

A BDO Worker Node Empire optimizer.
4 stars 0 forks source link

bdo-empire

About

Given a contribution point limit and price list this program will find the optimum allocation of the points to maximize a Worker Node Empire's value.

It

It does not

This program uses the HiGHS High Performance Optimization Software to solve the MIP using branch and cut. The parameters chosen guarantee the result is within 0.01% of the optimum value but in practice it is optimum for all test cases used during the development and testing of the model.

Installation

Using pipx: pipx install bdo-empire
Using pip: pip install bdo-empire

Usage

Requirements

* Use the 'reload' button on workerman's setting page prior to exporting.

Start the program

Installed using pipx: optimize-empire.exe
Installed using pip: python -m bdo_empire.main

Fill in the required fields, click Optimize and then wait.

All test instances using a variety of input parameters solved in under an hour but each combination of CP, pricing, purchased lodging and region modifiers will alter solution time.