Store in an object the final expresion of the symbolic value of the dual function (self.f). Also store in self R, F and eps.
At each policy update call function which updates R, F and eps (shared variables). Thus compilation only takes place once. Compile function upon the first call (by using a None flag).
Store in an object the final expresion of the symbolic value of the dual function (self.f). Also store in self R, F and eps.
At each policy update call function which updates R, F and eps (shared variables). Thus compilation only takes place once. Compile function upon the first call (by using a None flag).