Worker empire optimizer for BDO using HiGHS mip solver.
Project description
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
- generates a json file to import into Workerman
- uses workers of level 40.
- uses workers with optimum skills learned.
- assumes all drops are sent to storage with zero cp cost (Calpheon).
It does not
- account for cp spent outside of the Node Empire.
- account for grind nodes or 'fixed' nodes. (TODO)
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.
Usage
Start the program and fill in the required fields, click "Optimize" and then wait. All test instances using a variety of CP limits solved in under an hour but each combination of CP, pricing, purchased lodging and region modifiers will alter solution time.
Requirements
You will need:
- python
- an exported price list from Workerman settings page.
- an exported modifiers list from Workerman modifiers page
(click
▶Advanced
).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bdo_empire-0.1.2.tar.gz
.
File metadata
- Download URL: bdo_empire-0.1.2.tar.gz
- Upload date:
- Size: 235.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dc1a5a7514efb6628a7df2b57bf9675be5073bb8d1664afca6a9e1872882ee5 |
|
MD5 | eb48fddaf0a3001ed920e7feac81f992 |
|
BLAKE2b-256 | ae1ff1762b0407fb6e22aa032aeb202c585fe71f46ea1a08445d5296cfe9d078 |
File details
Details for the file bdo_empire-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: bdo_empire-0.1.2-py3-none-any.whl
- Upload date:
- Size: 270.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6a9fa866aeee0567d788280e8a3740f7208286865821b114b8d926650e68c9c |
|
MD5 | 09305fa768386bb0683ad6c9db4e4053 |
|
BLAKE2b-256 | f4bd353f46184d3db83bb76f6d90ee1ed40d9c60d563d6a0bb3abb59569d4ea2 |