<s> from nova_solverscheduler . scheduler . solvers import constraints <EOL> class NoConstraint ( constraints . BaseLinearConstraint ) : <EOL> """<STR_LIT>""" <EOL> def get_constraint_matrix ( self , hosts , filter_properties ) : <EOL> num_hosts = len ( hosts ) <EOL> num_instances = filter_properties . get ( '<STR_LIT>' ) <EOL> constraint_matrix = [ [ True for j in xrange ( num_instances ) ] <EOL> for i in xrange ( num_hosts ) ] <EOL> return constraint_matrix </s>
