def dense2cvxopt(value):
 import cvxopt
 return cvxopt.matrix(value, tc='d')

def dense2cvxopt ( value ) : import cvxopt return cvxopt . matrix ( value , tc = 'd' )
converts a numpy matrix to a cvxopt matrix .