Implements a helper reformulation to apply temporary options.
Helper reformulation to apply temporary options.
This reformulation is different from all others in a number of ways:
It doesn’t change the footprint of any problem.
It is automatically the first reformulation in any strategy.
It is the only reformulation whose
executeaccepts a keyword argument sequence of additional options to use.
It is the only reformulation that can be skipped entirely (by setting
self.output = self.input).
The job of this reformulation is to apply temporary options passed to
Problem.solveso that subsequent reformulations can find their options stored in their input problem.
extra_optionsargument and attempts to perform as little reformulation work as possible.