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: optimize-empire.exe
Installed using pip: pip -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.3.tar.gz (358.1 kB view details)

Uploaded Source

Built Distribution

bdo_empire-0.1.3-py3-none-any.whl (411.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bdo_empire-0.1.3.tar.gz
  • Upload date:
  • Size: 358.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for bdo_empire-0.1.3.tar.gz
Algorithm Hash digest
SHA256 05de1a00b85d55acb7b336a160e1031d87815045db5d19c028348e7e7d7d1b0a
MD5 5ea12096a78bd236d8f90f675d4c9018
BLAKE2b-256 41e3e96309f047298224259e5fd993a7e935a4ebab325587c93cb77f552d0e71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bdo_empire-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 411.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for bdo_empire-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9d122c8eb7cef26d57931b4d0c9ed037ede74a09c57875addc50fbd2d2d92ab5
MD5 6ab7ee42b8661664030b2162cca33486
BLAKE2b-256 2fb3139bf39a936ca4af3f907e3e2cedc9eb5ddd40daf48e21d6d36c130d83ce

See more details on using hashes here.

Supported by

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