'Internal version of format with cached results.
Returns
tuple
(equality constraints, inequality constraints)'

@pu.lazyprop
def __CVXOPT_format(self):

    eq_constr = self._get_eq_constr()
    if (self.constr_id is None):
        leq_constr = lu.create_geq(self.A)
    else:
        leq_constr = lu.create_geq(self.A, constr_id=self.constr_id)
    return ([eq_constr], [leq_constr])
