my take on the first assignment for the "linear and integer programming" course on coursera