From: Eric F. <efe...@ph...> - 2008-10-06 14:12:42
|
Hi, That seems fine for me. However would that affect event evaluation ? Eric > -----Original Message----- > From: Rainer Machne [mailto:ra...@tb...] > Sent: 06 October 2008 14:38 > To: sbm...@li... > Subject: Re: [SOSlib-discuss] ODEModel_createWithObservables[Scanned] > > Hi, > > I think we can get rid of the "observables" all together. I > have moved update of all assignment rules - even those which > are not required to solve the system - to the two cases were required: > > a) with option StoreResults: all values are stored, so all > rules need to be updated anyways > > b) IntegratorInstance_getVariableValue: if an assigned value > is requested specifically, then assignment rules are updated > (but only once, if the function is used several times at the > same integration step!). > > So if you solve without the StoreResults option, and don't > use getVariableValue for assigned values (rate laws, values > only in the model for observation purposes), the solver will > always only update the required rules. > > At a later point also the complete rule evaluation for above > cases could be optimized by storing the dependency graph > between assignments and use a recursive evaluation through > this graph ONLY for the requested values. > > As a conclusion, "observables" to optimize solver performance > is not required anymore, and I will remove this functionality > completely. > > Any objections? > > Rainer |