...

/

Challenge: The Log Barrier Method

Challenge: The Log Barrier Method

Evaluate yourself on the concepts learned in this chapter via a coding exercise.

Problem statement

Consider a real-life example of traffic flow optimization. In a city, optimize the timing of traffic signals to minimize the total time cars spend on the roads. This can be formulated as a convex optimization problem with inequality constraints.

Here,

  • nn is the total number of traffic signals.

  • xix_i ...