Optimization Lab (Constraints)

1D/2D optimization with iteration traces — includes box constraints and simple penalty constraints.

DIMENSION
METHOD
OBJECTIVE f(x[,y])
x var
y var
x₀
y₀
α (step)
tol
max iter
CONSTRAINTS (optional)
Penalty constraint g(x,y)=0
ρ (penalty)
Large ρ enforces the constraint more strongly but can make the landscape ill-conditioned.
Export the iteration trace and use Data Explorer (line/scatter) to analyze convergence.
OUTPUT
Ready.