You signed in with another tab or window. Reload to refresh your session.You signed out in ano
8000
ther tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 11, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on May 11, 2021. It is now read-only.
Currently, it gives an error that variable is not defined in the flow map. As far as I remember, it was possible to use constant intervals without declaring them in the flow map in one of the past releases (sometime around March)
I think it is not difficult to do as all the computations are already performed using interval library. At the same time we can benefit a lot reducing the complexity (as we reduce the number of ODEs in the flow) which can result into a better performance.
It's certainly an implementable feature. It can reduce the burden of users. I'll put it on my todo list.
At the same time we can benefit a lot reducing the complexity (as we reduce the number of ODEs in the flow) which can result into a better performance.
While I still agree that this can reduce the amount of work on the user-side, I think it doesn't reduce the complexity on the solver side. The extra complexity added by d/dt[alpha] = 0.0 was already dropped in the current implementation. We handle d/dt[alpha] = 0.0 specially in that it is used as an ODE parameter in CAPD rather than an ODE variable.
In the end, we still need to let CAPD know that alpha is an ODE parameter. I think this can be done at best by dReach, not by dReal. Unless this can be avoided by somehow, I think the complexity remains as it is on the solver side.
Thanks for the reply. It surely won't change anything if the constant is defined locally (within the flow).
But sometimes it is necessary do define such a parameter globally (for the whole system). For example, now if I want to define such a global constant I need to do the following:
It means that for each jumps there will be created a new variable alpha' which will be bound with the old variable alpha using = relation. So I was thinking that we can use just one variable for this purpose and put it as a parameter in all the flows so we won't need to define it for each flow and then bind newly introduced variables for each jump. Possibly in this way the complexity will be reduced as the number of variables will be reduced.
I think it will benefit my algorithm as its performance mostly depends on dReach. Also I think it can benefit for the parameter estimation using the dReal.
Activity
soonhokong commentedon Jul 15, 2014
It's certainly an implementable feature. It can reduce the burden of users. I'll put it on my todo list.
While I still agree that this can reduce the amount of work on the user-side, I think it doesn't reduce the complexity on the solver side. The extra complexity added by
d/dt[alpha] = 0.0was already dropped in the current implementation. We handled/dt[alpha] = 0.0specially in that it is used as an ODE parameter in CAPD rather than an ODE variable.For example, see http://mnich.ii.uj.edu.pl/capd/doc/examples_integrate.html, where
aandbare treated as parameters whilex,y, andzare interpreted as ODE variables with corresponding ODEs:In the end, we still need to let CAPD know that
alphais an ODE parameter. I think this can be done at best bydReach, not bydReal. Unless this can be avoided by somehow, I think the complexity remains as it is on the solver side.pzuliani commentedon Jul 15, 2014
Very clear explanation - thanks Soonho! Indeed it'd be a nice feature to have.
shmarovfedor commentedon Jul 15, 2014
Thanks for the reply. It surely won't change anything if the constant is defined locally (within the flow).
But sometimes it is necessary do define such a parameter globally (for the whole system). For example, now if I want to define such a global constant I need to do the following:
It means that for each jumps there will be created a new variable
alpha'which will be bound with the old variablealphausing=relation. So I was thinking that we can use just one variable for this purpose and put it as a parameter in all the flows so we won't need to define it for each flow and then bind newly introduced variables for each jump. Possibly in this way the complexity will be reduced as the number of variables will be reduced.I think it will benefit my algorithm as its performance mostly depends on
dReach. Also I think it can benefit for the parameter estimation using thedReal.soonhokong commentedon Jul 16, 2014
@shmarovfedor, I see your point. I'll give you an update when I implement the feature.
shmarovfedor commentedon Jul 16, 2014
Thanks
fix(dsolvers/nra_solver): only add literals with polarity into explan…