Numagic-lumos

Latest version: v0.0.2rc7

Safety actively analyzes 688917 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.02rc2

- improve casadi backend performance significantly for relatively small to medium size problem by removing some non compiled function call overhead
- fix a bug where boundary conditions are overwritten when new bounds are set.

0.0.2rc7

What's Changed
* enable automatic assembly of residuals by yunlongxu-numagic in https://github.com/numagic/lumos/pull/101
* setting and getting recursive params always work on a copy by yunlongxu-numagic in https://github.com/numagic/lumos/pull/102
* add method for model to set con_outputs by yunlongxu-numagic in https://github.com/numagic/lumos/pull/103
* add check to ensure model_config type is correct by yunlongxu-numagic in https://github.com/numagic/lumos/pull/104
* update readme example by yunlongxu-numagic in https://github.com/numagic/lumos/pull/105


**Full Changelog**: https://github.com/numagic/lumos/compare/v0.0.2rc6...v0.0.2rc7

0.0.2rc6

What's Changed
* Version bump by yunlongxu-numagic in https://github.com/numagic/lumos/pull/81
* docs and examples of objective functions by yunlongxu-numagic in https://github.com/numagic/lumos/pull/84
* Fix colab path by yunlongxu-numagic in https://github.com/numagic/lumos/pull/85
* add functionality to do model algebra solves by yunlongxu-numagic in https://github.com/numagic/lumos/pull/90
* improve SimConfig docstring by yunlongxu-numagic in https://github.com/numagic/lumos/pull/93
* provide an api for user to set custom mesh by yunlongxu-numagic in https://github.com/numagic/lumos/pull/96


**Full Changelog**: https://github.com/numagic/lumos/compare/v0.0.2rc5...v0.0.2rc6

0.0.2rc5

What's Changed
* add interp that works both with jax and casadi by yunlongxu-numagic in https://github.com/numagic/lumos/pull/72
* allow options and includes in cmex export by yunlongxu-numagic in https://github.com/numagic/lumos/pull/73
* fix logging issues: by yunlongxu-numagic in https://github.com/numagic/lumos/pull/79
* fix TreeParam bug with casadi and 1d array by yunlongxu-numagic in https://github.com/numagic/lumos/pull/80


**Full Changelog**: https://github.com/numagic/lumos/compare/v0.0.2rc4...v0.0.2rc5

0.0.2rc4

Breaking changes:
- change input args to `forward` method of models from arrays to dictionaries,
add `forward_with_array` method that works like the old `forward`
- models no longer need to define the names of `con_outputs`, as these can now
be dynamically defined by simulations in `sim_config.con_output_names`
- outputs can now be automatically collected from submodels. For example,
the `power` output from submodel `vehicle.engine` will become
`vehicle.engine.power` at top level output.
- To make use of the automatic collection of outputs, the user must:
1) call all submodels with `call_submodel` method
2) construct the outputs of the parent model using the `make_outputs_dict`
method.
- the name of the states derivative `states_dot` now follow the same name
as states, so no need to add `_dot` to the name.
- using new `LoggingConfig` for logging settings, simplify logging
configuration, and also fix logging bug: now if we're logging convergence
history, the last iteration will always be logged

Other notable changes:
- change scaling of decision variables from giving IPOPT to handle to
manual scaling of the NLP functions ourselves. This appears to work better
in certain situations. (eg, when we have energy in J, in the order of 1e7).

**Full Changelog**: https://github.com/numagic/lumos/compare/v0.0.2rc3...v0.0.2rc4

0.0.2rc3

What's Changed
* make profiling optional
* extract ipopt timing info

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.