Introductory Mathematical Programming for EC