Skip to content

Commit 4409893

Browse files
committed
Stop exporting objective and remove its doc
1 parent 80026a0 commit 4409893

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/systems/OptimizationSystem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ OptimizationSystem
88

99
## Composition and Accessor Functions
1010

11-
- `get_op(sys)` or `objective(sys)`: The objective to be minimized.
11+
- `get_op(sys)`: The objective to be minimized.
1212
- `get_states(sys)` or `states(sys)`: The set of states for the optimization.
1313
- `get_ps(sys)` or `parameters(sys)`: The parameters for the optimization.
1414
- `get_constraints(sys)` or `constraints(sys)`: The constraints for the optimization.

src/ModelingToolkit.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export Equation, ConstrainedEquation
202202
export Term, Sym
203203
export SymScope, LocalScope, ParentScope, GlobalScope
204204
export independent_variables, independent_variable, states, parameters, equations, controls,
205-
observed, structure, full_equations, objective
205+
observed, structure, full_equations
206206
export structural_simplify, expand_connections, linearize, linearization_function
207207
export DiscreteSystem, DiscreteProblem
208208

0 commit comments

Comments
 (0)