Extended Mathematical Programming