Skip to content

[Dev] Issue with the objective value for the init #104

@ocots

Description

@ocots

When we get the init after max_iter=0, the value of the objective for optimal control problems with Lagrange cost is the default value (0.1), not the true objective value. This comes from the fact the Lagrange part is replaced in CTDirect by a Mayer cost with an initial guess fixed to 0.1.

See: https://github.com/control-toolbox/OptimalControlProblems.jl/actions/runs/17193430974/job/48772177053#step:4:1441

@PierreMartinon

Metadata

Metadata

Assignees

Labels

internal devModification to the code is requested and should not affect user experiment

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions