def define(self, names, **kwargs):
define_kwargs = dict(self._define_kwargs)<EOL>define_kwargs.update(kwargs)<EOL>self._problem.define(<EOL>*((self, name) for name in names), **define_kwargs)<EOL>
Define variables within the namespace.

        This is similar to :meth:`.Problem.define` except that names must be
        given as an iterable. This method accepts the same keyword arguments
        as :meth:`.Problem.define`.