Skip to main content
POST
Motion Optimization — a design-study sweep (MO11)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
assembly
object
required

Assembly document (the /assembly app's shape).

objective
object
required
study
object
required

The motion study document (ss.motion.study/1).

variables
object[]
required
bounds
number[][]

MO11.b: [lo, hi] per variable for the optimizer methods.

constraints
object[]

MO11.c: constraints on other results for any method - each {series, criterion?, at?, max?, min?, weight?}: a series criterion kept at or below max and / or at or above min; a violation adds weight * (violation / |limit|)^2 (default weight 1e3) to the case's score, the rows carry the constraints' values, feasible and penalty, the response constraints / feasible_cases.

max_evaluations
integer

MO11.b: the evaluation budget of an optimizer run (default 40, at most 200).

method
string

MO11.b: grid (default: every combination of the values) | gradient (a finite-difference descent from the first values within bounds, backtracking on the goal's score) | response_surface (a quadratic fit over the values' grid or three levels per bound, its extremum in the bounds solved and verified). MO11.c adds quasi_newton (BFGS on the inverse Hessian in the scaled box, forward-difference gradients, an Armijo line search; iterations / hessian_updates / optimum) and latin_hypercube (a midpoint Latin-hypercube design of max_evaluations samples, every stratum once per variable, a fixed-seed pairing; design).

segments
integer
default:32
tolerance
number

MO11.b: the relative improvement below which the descent stops (default 1e-4).

Response

rows per case (values, result_key, objective, stats) and the best