def METHOD_NAME(self):
    from cvxpy.problems.objective import Maximize
    from cvxpy.problems.problem import Problem
    y_val = self.args[0].value.round(decimals=9).ravel(order='F')
    x_flat = self._parent.x.flatten()
    cons = self._parent.constraints
    if len(cons) == 0:
        dummy = Variable()
        cons = [dummy == 1]
    prob = Problem(Maximize(y_val @ x_flat), cons)
    val = prob.solve(solver='SCS', eps=1e-6)
    return val