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).
  • accounts for workshop lodging cost but not profits or the workshop itself.
  • accounts for grinding node connections

It does not

  • account for cp spent outside of the Node Empire.

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.4.2.tar.gz (425.6 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.4.2-py3-none-any.whl (467.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bdo_empire-0.4.2.tar.gz
  • Upload date:
  • Size: 425.6 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.4.2.tar.gz
Algorithm Hash digest
SHA256 f5ba9f44db229287e15ac000067746a6d55f7ca1e56a4af8581ffbb0795d039d
MD5 c54dec4c6cb669b343c5e3c316fec15c
BLAKE2b-256 d698e5c42a634e80cd8429b9766ca0949ac60184345ba78c027d07487c4600b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bdo_empire-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 467.7 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.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 76ca7e5754eccbee4f44c79eb1423d453acdbd47f25ed581c5ffd21c8f799b0d
MD5 73990785d48bab3b6b503d5093e84e4e
BLAKE2b-256 c3390fb6b2b1fed2cc714b13dcff71fb640988118b07453df98f80326b362ec6

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