constraints working on my machine and calculate_total_costs is bug free (I think I know how to deal with variables now)