compas_cem.optimization

Optimizers

Optimizer

An object that modifies a form diagram to meet multiple constraints.

solve_nlopt_proxy

Solve a constrained form-finding task through a Proxy server.

Constraints

PointConstraint

Pulls the xyz position of a node to a target point.

LineConstraint

Pulls the xyz position of a node to a target line ray.

PlaneConstraint

Pulls the xyz position of a node to a target plane.

DeviationEdgeLengthConstraint

Make a deviation edge reach a target length.

TrailEdgeForceConstraint

Make a trail edge reach a target force value.

ReactionForceConstraint

Makes the support reaction force at a node match a target vector.

Optimization Parameters

TrailEdgeParameter

Sets the length of a trail edge as an optimization parameter.

DeviationEdgeParameter

Sets the force of a deviation edge as an optimization parameter.

OriginNodeXParameter

Sets the X coordinate of an origin node as an optimization parameter.

OriginNodeYParameter

Sets the Y coordinate of an origin node as an optimization parameter.

OriginNodeZParameter

Sets the Z coordinate of an origin node as an optimization parameter.

NLOpt

nlopt_algorithm

Fetches an optimization algorithm from the nlopt library by name.

nlopt_algorithms

A dictionary with all the supported nlopt algorithms.

nlopt_solver

Wrapper around a typical nlopt solver routine.