maximize#

class cuqi.solver.maximize(func, x0, gradfunc=None, method=None, **kwargs)#

Simply calls ::class:: cuqi.solver.minimize with -func.

__init__(func, x0, gradfunc=None, method=None, **kwargs)#

Methods

__init__(func, x0[, gradfunc, method])

solve()

Runs optimization algorithm and returns solution and info.