ignore weights
fix constraints; fix output format