Products

Optimize a business variable

Find the optimal value for pricing, routing, scheduling, or resource allocation.

Describe your objective and constraints in plain English — Algenta finds the best configuration across thousands of iterations.

post/v1/optimize

Request

  • Base URL: https://api.algenta.ai
  • URL: https://api.algenta.ai/v1/optimize
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

objectivestring required

What to optimize, e.g. 'maximize profit', 'minimize cost', 'maximize throughput'

iterationsinteger

Search iterations

enginestring

Simulation engine. 'auto' selects the best engine automatically. Options: lhs (recommended for optimization), monte_carlo, qmc_sobol

Response

Successful Response

optimization_idstring required
statusstring required
optimal_valuesobject required
objective_valuenumber required
improvement_vs_midpointnumber required

% improvement vs naive midpoint solution

constraints_satisfiedboolean required
iterations_runinteger required
latency_msnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.