Skip to content

Hexaly

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.

Tip

Learn how to get started using community apps with our tutorial: Explore new model - CLI.

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.

license.dat.template
CLOUD_KEY = secret-123
CLOUD_SECRET = secret

[DEFAULT_PARAMETERS]
verbosity = 0

And then include the license.dat file in the app.yaml manifest under files:

app.yaml
# This manifest holds the information the app needs to run on the Nextmv Cloud.
type: python
runtime: ghcr.io/nextmv-io/runtime/python:3.11
python:
  # All listed packages will get bundled with the app.
  pip-requirements: pyproject.toml # Can be a 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

configuration:
  # Specify the format the app reads and writes.
  content:
    format: json # Read JSON from stdin and write JSON to stdout.
  # Define the options (parameters) of the app.
  options:
    strict: false
    items:
      - name: duration
        option_type: int
        default: 30
        description: Max solver runtime in seconds
        required: false
        additional_attributes:
          min: 1
          max: 300
          step: 10
        ui:
          control_type: slider
          display_name: Duration

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.