We can currently do:
intvar = MixedIntervening(problem.n, problem.m + 1, default=Linear())
intvar.set_intervening(MMA(), var=1)
approx = Taylor1(intvar)
subproblem = Subproblem(approx)
To make the approximated approximations we "only" need to do:
intvar = MixedIntervening(problem.n, problem.m + 1, default=Linear())
intvar.set_intervening(MMA(), var=1)
approx = Taylor1(intvar)
approx_of_approx = Taylor2(approx)
subproblem = Subproblem(approx_of_approx))
This means we need to make Approximation accept Approximation.
How can we do this?
We can currently do:
To make the approximated approximations we "only" need to do:
This means we need to make Approximation accept Approximation.
How can we do this?