The Convex Feasible Set Algorithm for Real Time Optimization in Motion Planning

Changliu Liu, Chung-Yen Lin, Masayoshi Tomizuka

TL;DR

The Convex Feasible Set (CFS) algorithm is a high-speed optimization framework designed to handle the "messy" non-convex constraints of real-world motion planning (like dodging obstacles) by iteratively solving simplified convex subproblems. By exploiting the geometric structure of the environment rather than treating it as a generic mathematical black box, CFS achieves real-time performance that is often orders of magnitude faster than standard industry solvers like SQP or Interior Point methods.

What Problem Does This Paper Address?

In robotics, motion planning is the art of getting from Point A to Point B without hitting anything. While the goal (the "cost function") is often simple and convex—like minimizing energy or staying close to a path—the environment is not. Obstacles create "holes" in the feasible space, making the optimization problem highly non-convex.

Existing solutions often struggle with a trade-off:

  1. Global solvers are too slow for real-time re-planning in dynamic environments.
  2. Local solvers like Sequential Quadratic Programming (SQP) are generic; they don't "know" they are looking at a physical obstacle, leading to unnecessary computational overhead (like expensive line searches) and potential failure in complex geometries.

The authors aim to bridge this gap with an algorithm that is fast enough for a robot to rethink its path mid-stride when a human walks in front of it.

Methods

The core innovation is the Convex Feasible Set (CFS) algorithm. Instead of trying to solve the non-convex problem directly, the algorithm follows an iterative process:

  1. Convexification: At the current robot position, the algorithm identifies a "convex feasible set"—essentially a safe, convex "bubble" or corridor within the non-convex free space.
  2. Subproblem Optimization: It solves a simple convex optimization problem restricted to this bubble. Because the subproblem is convex, it can be solved extremely quickly.
  3. Iteration: The solution to the subproblem becomes the new reference point, a new bubble is calculated, and the process repeats until convergence.

The paper provides a rigorous mathematical proof that this sequence of subproblems will always converge to a local optimum. Crucially, the authors describe how to handle different types of obstacles (convex, concave, and boundary) using a "semi-convex decomposition," ensuring the algorithm remains robust even when the environment is complex.

Datasets

The paper evaluates the algorithm using simulated robot motion planning scenarios rather than static datasets:

  • Scenario 1: A mobile robot navigating through three disjoint convex obstacles.
  • Scenario 2: A more challenging environment featuring non-convex obstacles with concave corners, which are partitioned into five overlapping convex components.
  • Benchmarks: The algorithm was tested against standard solvers: Interior Point (ITP) and Sequential Quadratic Programming (SQP), implemented in both Matlab and C++ (using the Knitro and quadprog libraries).

Key Insights and Ideas

  • Geometry is Key: Generic solvers ignore the fact that obstacles have physical boundaries. CFS uses the signed distance to obstacles to "carve out" the feasible space, making the math much lighter.
  • No Line Search Needed: Unlike SQP, which often requires a "line search" to ensure each step actually improves the result, CFS can take unconstrained steps within its convex bubble. This significantly reduces the time spent per iteration.
  • Linear Scaling: One of the most impressive findings is that the computation time for the C++ implementation of CFS scales almost linearly with the "horizon" (how far ahead the robot is planning). This makes it ideal for long-range planning.
  • Feasibility from the Start: Even if the robot's initial "guess" path goes straight through an obstacle, the algorithm can still find a valid, safe path.

Key Results

The quantitative results highlight a massive leap in efficiency:

  • Speed: In a scenario with a planning horizon of 40 steps, the C++ version of CFS took only 16.5ms to solve, compared to 240.5ms for the Interior Point method in Matlab.
  • Convergence: CFS typically converged in far fewer iterations than SQP or ITP. For example, in Scenario 1 ($h=100$), CFS converged in 18 iterations, while ITP required 306.
  • Real-Time Capability: The average time per iteration for CFS-C (the C++ version) was consistently under 5ms, well within the requirements for real-time robotic control loops.

Limitations and Future Work

  • Obstacle Partitioning: The current method requires non-convex obstacles to be decomposed into convex parts. While the paper suggests this can be done via convex hulls or manual partitioning, automating this for arbitrary, complex 3D environments remains a challenge.
  • Infeasible Starting Points: While the algorithm is robust, the authors note that guaranteeing a non-empty convex feasible set for a highly "illegal" starting path (one that is deeply buried in multiple obstacles) is intricate and requires careful design of the safety index functions.
  • High-Dimensional Complexity: The tests were performed on 2D mobile robots. Future work is needed to explore how CFS handles the high-dimensional configuration spaces of multi-jointed robot arms or humanoid robots.

Summary updated

BibTeX
@article{liu2018convex,
  author = {Changliu Liu and Chung-Yen Lin and Masayoshi Tomizuka},
  title = {{The Convex Feasible Set Algorithm for Real Time Optimization in Motion Planning}},
  journal = {SIAM J. Control. Optim.},
  year = {2018},
  url = {https://openreview.net/forum?id=kBSFKm4gE2R},
}
Figure