Moved constraints and objective definitions into their correct places.

Still need to complete the translation from phygen problem description into apache, glpk and gurobi.