• Tjerk Vreeken's avatar
    Fix unwanted conversion to MX in substitute calls · 80c8656b
    Tjerk Vreeken authored
    It could happen that a DM expression would be converted to an MX
    expression, which would then later confuse the solver (e.g. when the
    values are the lower/upper bounds of the constraints).
    
    One example is that when passing as expr a 15x1 DM array of all 293.55
    values, the resulting value would be "MX(all_293.65(15x1))". This in
    turn would confuse the solver call, resulting in an exception.
    80c8656b
Name
Last commit
Last update
..
__init__.py Loading commit data...
alias_tools.py Loading commit data...
caching.py Loading commit data...
casadi_helpers.py Loading commit data...