code: def pdoo_maximise_from_args(
      func, bounds, max_capital, *args, **kwargs
  ):
      """PDOO Maximise from Arguments."""
      doo_obj = DOOFunction(func, bounds)
      return pdoo_wrap(doo_obj, max_capital, *args, **kwargs)
  
imports: from __future__ import division
  from functools import total_ordering
  from argparse import Namespace
  import numpy
  from .general_utils import map_to_bounds
label_desc: Use image node_id 2 for calling a global function with example usage: pdoo_maximise_from_args(func, bounds, max_capital) and returns: pdoo_wrap