numagic / lumos

scalable accelerated optimal control
MIT License
16 stars 0 forks source link

create a model method to change con_outputs #99

Closed yunlongxu-numagic closed 1 year ago

yunlongxu-numagic commented 1 year ago

currently in OCP, we directly modify model attributes, which is not nice,

see: https://github.com/numagic/lumos/blob/355eac946ca5405a95578c89f03e197b724687db/lumos/optimal_control/scaled_mesh_ocp.py#L102