problem
Problem struct or object for the selected solver namespace.
result = copp.solver.copp2_socp.solve_expert(problem, options)
Returns a Result object. RESULT.a is available only when RESULT.has_a is true; raw Clarabel vectors and status fields are still returned for non-accepted statuses.
problemProblem struct or object for the selected solver namespace.
optionsSolver options struct or object for the selected solver namespace. Default: copp.solver.copp2_socp.Options()
resultStructured solver result containing the optimized profile and solver metadata.
ExampleCommon.setup_path(); ctx = ExampleCommon.second_order_context(); objectives = ExampleCommon.convex_objectives(ctx.dim); problem = copp.solver.copp2_socp.Problem(ctx.robot, objectives, idx_s_interval=ctx.idx_s_interval, a_boundary=ctx.a_boundary); options = copp.solver.copp2_socp.Options(); result = copp.solver.copp2_socp.solve_expert(problem, options); a_profile = result.a;