Skip to main content

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

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

Start the program

Installed using pipx: empire-optimizer.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

bdo_empire-0.1.9.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bdo_empire-0.1.9-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

Details for the file bdo_empire-0.1.9.tar.gz.

File metadata

  • Download URL: bdo_empire-0.1.9.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for bdo_empire-0.1.9.tar.gz
Algorithm Hash digest
SHA256 5f15f6cb7bed3e36a48fc5a12f35acc9e07ffa326d7907554a856dfa9913f80d
MD5 d457b102e63b9aea51e7903b8ce43cc5
BLAKE2b-256 4b3323665b49b623fc83bb5275004793e904f994b7595a6ff6262fc6372c6e79

See more details on using hashes here.

File details

Details for the file bdo_empire-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: bdo_empire-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for bdo_empire-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5af56d72811b096edf7c44a37d7c9e9e234bb29c95220d3da15f6ef2a24c98ac
MD5 e55ff626b1a5cbcae590c541ee550526
BLAKE2b-256 4030b61907c2e257387da54a496b1b9949c20d0241c3d5f1c3185af49bffc4ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page