Hexaly

Hexaly

Reference for using Hexaly with Nextmv

Hexaly logo

Hexaly is a commercial solver that describes itself as a new kind of global optimization solver. It offers nonlinear and set-oriented modeling APIs. Relying on innovative proprietary algorithms.

Get started

A community app is a great place to get started with the Hexaly integration. The Hexaly community apps ship with a license.dat.template file that you can modify to include your Hexaly license.

Remove the .template extension and fill in the information with your actual license.

CLOUD_KEY = secret-123
CLOUD_SECRET = secret

[DEFAULT_PARAMETERS]
verbosity = 0
Copy

And then include the license.dat file in the app.yaml manifest under files (see the last three lines):

# This manifest holds the information the app needs to run on the Nextmv Cloud.
type: python
runtime: ghcr.io/nextmv-io/runtime/hexaly:latest
python:
  # All listed packages will get bundled with the app.
  pip-requirements: requirements.txt

# List all files/directories that should be included in the app. Globbing
# (e.g.: configs/*.json) is supported.
files:
  - main.py
  # If you have a Hexaly license, uncomment the following line and make sure to
  # store your license information in that file.
  # - license.dat
Copy

License

The Hexaly-Nextmv integration works with a BYOL (Bring Your Own License) licensing model. This means that you need to have a valid Hexaly license to use this solver on the Nextmv Platform. Nextmv does not provide Hexaly licenses.

Languages & runtimes

Supported languages and available runtimes for Hexaly apps are listed in the table below. These properties must be defined in the app manifest for your app to run remotely.

Language Runtime
Pythonghcr.io/nextmv-io/runtime/hexaly

Community apps

The community apps listed in the table below are set up to run with Hexaly.

Community app Description
python-hexaly-knapsackSolve a VRP with nextroute

Clone a community app locally using Nextmv CLI:

nextmv community clone -a python-hexaly-knapsack
Copy

Page last updated

Go to on-page nav menu