generated from control-toolbox/CTAppTemplate.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
For exa backend, don't replace nothing by +/- Inf * ones(length(...)) but just by +/- Inf
EDIT: do it. seems like sth like
x[1]^2(t) + x[2]^2(t) <= 1errors (sometimes...) as lb = [-Inf] while ub = 1...
- add the test from pr-adding-tensors #182
EDIT:
- don't do it for now (= scalar constraint): scalar constraint implies scalar bound; passing a vector here would be interpreted as a vector for the constraint generator!
- use
$e1/3[1](will scale to vector case withforloop on dimension length - check all
$pref.constraint(..., lcon=..., ucon=...)where lcon and ucon must be vectorised along generator for now, not dimension; these should be cases wherelength(e1) == length(e3) == 1
FTR: ExaModels.constraint lcon / ucon accept Number, AbstractArray, or Generator
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working