slsqp_jax.slsqp.verbose¶
Default and no-op verbose callbacks used by SLSQP.
slsqp_jax.slsqp.verbose
Verbose-output callbacks for the SLSQP outer loop.
Two callables are exposed:
slsqp_verbose()— print one line per SLSQP step, with each field formatted by an optionalfmt_specprovided as the third tuple element. Wrapsjax.debug.print(), so it is safe to call inside a JAX-tracedstep.no_verbose()— no-op alternative used whenverbose=Falseis requested at construction time.
Both are kept tiny on purpose: the format specifiers are stripped at
class-construction time so that PyTree equality (and therefore
optimistix JIT cache hits) is preserved across runs that differ
only in the verbose printer payload.