BIE-VAK Selected Combinatorics Applications
Go to course navigation

11. Linear programming

At the seminar, we showed how to use linear programming to approximate the solution of some computationally hard problem. In the homework, we will connect linear programming with another topic we have covered during the semester, namely geometry. The problem statement is as follows.

Given a convex polygon MM with nn sides such that none of its sides is vertical. Let ii-th side of the polygon MM lie on the line i\ell_i given by the equation y=aix+biy = a_ix + b_i, where i{1,2,,n}i\in\{1,2,\ldots,n\}. Find a circle with centre s=(s1,s2)\mathbf{s}=(s_1,s_2) and radius rr such that it is entirely contained in MM and its radius is maximal.

lp

Your solution must contain the deduction, justification and general formulation of a linear programme solving the given problem. Next, prepare some example of such a polygon MM with at least n7n \geq 7 sides and formulate this problem for the solver used throughout the lecture. Let the solution code be part of your submission.

Instructions

  • Read the task and solve it by yourself. In case of plagiarism, your homework will not be considered solved.
  • Then, send a scanned and hand-written solution as a single file using MS Teams.
  • The deadline for submission is May 15, 2025, 23:59:59. The deadline is strict.