A quasiconvex function is a real-valued function on a convex set whose every sublevel set is convex. If the domain is , this meansis a convex set for every real , including levels for which the set is empty. Equivalently,Boyd and Vandenberghe give these level-set and segment characterizations.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. §3.4.1, definition and first characterization
To see their equivalence, set . Convexity of that sublevel set puts every convex combination of and inside it, proving the inequality. Conversely, if two points lie below the same level, the inequality keeps their connecting segment below that level.
Quasiconvexity is weaker than convexity. An original example is on . For , its sublevel set is ; for , it is empty. All are convex, butwhich violates the convex-function inequality. Quasiconvexity limits the height along a segment by the larger endpoint value, rather than by the line joining endpoint values.
A strictly increasing transformation preserves the sublevel ordering and hence quasiconvexity. This can be useful when a complicated objective has simple level sets. Quasiconvex optimization exploits those sets through feasibility tests at trial objective values; it need not treat the objective itself as a convex function.
In one dimension the shape corresponds to the single-minimum convention of unimodality. Flat portions require care: the step function equal to0 for and1 for is quasiconvex. Every point strictly to the right of zero is a non-strict local minimizer on a small flat neighborhood, yet its value is not globally minimal. Quasiconvexity alone therefore does not justify replacing every local minimum by a global one.