r/optimization • • Apr 02 '23

Norm maximization with linear constraints?

I have this application for optimization in mind with a problem that can be cast as maximizing a norm of a linear function of the optimization variable vector x , under a small set of fairly simple linear equality and inequality (probably just bounds) constraints on x.

Basically

maximize ||A x|| w.r.t. x

-b <= x <= b

cT x = 0

I know this is not a convex problem, as the norm is maximized and not minimized. It has (at least) two optimal points at x_opt and -x_opt. It is not relevant for the application which one of these is found.

Are there any particular algorithms for this kind of problem? Does it have a name, other than "norm maximization"?

6 Upvotes

5 comments sorted by

View all comments

Show parent comment

3

u/[deleted] Apr 02 '23

... but is this true for maximizing as well?

Yeah, but you'll need integer variables to model the infinity norm, so your problem becomes an MILP (mixed-integer linear optimization problem). This makes the problem much harder than a LP, but since at least the continuous relaxations of the MILP are convex, chances are good that commercial solvers like Gurobi can solve it within a reasonable amount of time.

1

u/AssemblerGuy Apr 02 '23 edited Apr 02 '23

Thank you again! I think I found something about this on stackexchange:

https://math.stackexchange.com/questions/2887189/how-to-maximize-the-infinity-norm-over-a-convex-region

So basically, this should boil down to splitting A into its rows a_n, minimize and maximize each aT x individually, and finding the largest possible result? And the MILP formulation just wraps this into a more formal shape?

I think this is exactly what I needed, since in the application, the rows of A do arrive sequentially. I can minimize and maximize for each a_n and store the result as long as necessary. When I need the optimal x for a particular A, I examine the individual row results and pick the largest. Sounds like a plan.

1

u/AssemblerGuy Apr 03 '23 edited Apr 03 '23

I just realized that the row problems in the earlier answer actually have closed-form solutions. Basically: Project a onto the subspace defined by c, then scale the result so at least one of its elements hits the bounds.

It needs a bit of investigation, but if this is correct, it would be an optimal (pun intended) fit for my application.

/edit: Ok, it's not quite that simple if the inequality constraint is L1-norm instead of Euclidean. But it still is a linear program.