Optimizer

Multi-Criteria Optimization

Security Level 1 (Enabled)
SindByte tool execution flow: voice command, AI parse, execute, validate, result

Description

Finds optimal solutions for mathematical optimization problems with multiple objectives and constraints. Supports linear and nonlinear optimization, minimization and maximization, as well as complex objective functions with restrictions.

JSON Parameters

{
  "objective": "minimize",
  "function": "(x-3)^2 + (y+2)^2",
  "variables": ["x", "y"],
  "bounds": {
    "x": [-10, 10],
    "y": [-10, 10]
  },
  "constraints": ["x + y <= 5"],
  "algorithm": "nelder-mead",
  "tolerance": 1e-6,
  "maxIterations": 10000
}
ParameterTypeRequiredDescription
objectiveStringYes"minimize" or "maximize"
functionStringYesObjective function as a formula
variablesArrayYesList of variable names
boundsObjectNoBounds for each variable [min, max]
constraintsArrayNoConstraints as inequalities
algorithmStringNonelder-mead, gradient, genetic
toleranceNumberNoConvergence tolerance

Example Usage

API call:

POST /api/v1/tools/optimizer
Content-Type: application/json

{
  "objective": "minimize",
  "function": "(x-3)^2 + (y+2)^2",
  "variables": ["x", "y"],
  "bounds": {"x": [-10, 10], "y": [-10, 10]}
}

Examples

Simple quadratic minimization:

{
  "objective": "minimize",
  "function": "x^2",
  "variables": ["x"]
}

Rosenbrock function:

{
  "objective": "minimize",
  "function": "(1-x)^2 + 100*(y-x^2)^2",
  "variables": ["x", "y"],
  "bounds": {"x": [-5, 5], "y": [-5, 5]}
}

With constraints:

{
  "objective": "maximize",
  "function": "x*y",
  "variables": ["x", "y"],
  "constraints": ["x + y <= 10", "x >= 0"]
}

Return Values

{
  "optimalValue": 0.0,
  "solution": {
    "x": 3.0,
    "y": -2.0
  },
  "iterations": 127,
  "converged": true,
  "finalTolerance": 8.5e-7,
  "success": true
}
FieldTypeDescription
optimalValueNumberOptimal objective function value
solutionObjectOptimal variable values
iterationsNumberIterations used
convergedBooleanConvergence reached
finalToleranceNumberActual tolerance
successBooleanTrue if successful

Related Tools

Why This Tool Stands Out

Perfect for:

Time Savings

No measured time-saving or performance figures are available here. Results depend on the task and environment.

Ready to Get Started?

Optimize your problems with professional algorithms.

Download Now
Back to MathTools