'Returns the linear objective and a scalar offset.'

def get_objective(self):

    (c, offset) = self._cache_to_matrix(self.obj_cache)
    c = self.vec_intf.const_to_matrix(c.T, convert_scalars=True)
    c = intf.from_2D_to_1D(c)
    offset = self.vec_intf.scalar_value(offset)
    return (c, (- offset))
