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.
Installation
Using pipx: pipx install bdo-empire
Using pip: pip install bdo-empire
Usage
Requirements
- python
- an exported price list* from Workerman settings page.
- optionally; an exported modifiers list from Workerman modifiers page
(click
▶Advanced
).
* 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.
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.7.tar.gz
.
File metadata
- Download URL: bdo_empire-0.1.7.tar.gz
- Upload date:
- Size: 460.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aab79b4abae8feed738a6ffc0b8bf62e5687f5d8e81e9649d5cb95c15e535e05 |
|
MD5 | 0920bda261622bec6d06ecc25a74b097 |
|
BLAKE2b-256 | cf74176f1302e8cafab545611d26e8e91566c63b575e75b7dc969907a27bf5e5 |
File details
Details for the file bdo_empire-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: bdo_empire-0.1.7-py3-none-any.whl
- Upload date:
- Size: 518.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 348d401a908cbdecb2162722b86ff77cefde53fe0636aa68efd325c6281f1457 |
|
MD5 | 610287e7621009d0ef03c33989240329 |
|
BLAKE2b-256 | aef6f1a68880bcd09c9a449677e455c0f5212acfaead0ce3fe9f0055b5996062 |