Skip to content

[Metadata] Shared initial guess in the metadata, read by every modeling #377

Closed

Description

@ocots

Agents: read the guide for agents in #310 first. Specification: this description, #306 and its comments.

Sub-issue of #306, part 3 of 5. Depends on #368 and #369 (they rewrite the JuMP models and the number of controls per scheme).

Scope

As in #306, section :init: format (state=…, control=…, variable=…), each component a constant, a vector or a function of t, never data on a grid; OptimalControl modelings pass it as is; JuMP evaluates it at the nodes with the controls of the scheme; overridable (init=). No initial guess left in the model files. Maintainer's rule: the guess must make the solvers converge without being too close to the solution. Documentation of the initial guess (#151).

Done when

  • Initial guesses read from the metadata by every modeling; none left in the model files.
  • comparison/test_init checks the guesses coincide at the nodes.
  • Documented, with how to override it.

Refs #306, #151, #310

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions