Skip to contents

Converts unresolved symbol nodes inside equations and parameter formulas into typed AST nodes when possible, correcting casing and ensuring references match declared parameters, variables, mappings, or sets.

Usage

make_valid(x, ...)

Arguments

x

A multimod model object

...

Reserved for future use

verbose

Logical; emit a short summary of applied fixes

stop_on_error

Logical; passed to validate() when revalidate = TRUE

revalidate

Logical; run validate() after applying fixes

Value

A model object with updated AST nodes