Linearize an L1 Trading Penalty
Point72Quantitative Researcher · Online AssessmentLast updated
Linearize weighted absolute trading costs with auxiliary variables, complete LP constraints, the correct objective sign, and an equivalence proof.
Linearize an L1 Trading Penalty
Convert a portfolio problem into a standard linear program. The objective contains a linear expected-return term and a nonnegative weighted absolute-value penalty on trades from current holdings. The model also has linear equality constraints and box bounds on target holdings. Introduce auxiliary variables, write the complete transformed objective and constraints, and prove equivalence.
Constraints & Assumptions
his the target vector,h0is fixed, andc_i >= 0is the cost per unit of|h_i - h0_i|.- Expected-profit coefficients are
alpha. - Existing constraints are
A h = bandlower <= h <= upper. - There is no quadratic risk term in this formulation.
Clarifying Questions to Ask
- Is the original problem written as maximization or minimization?
- Are buy and sell costs symmetric?
- Do any fixed fees, minimum lots, or integer holdings apply?
- Are holding and trade units consistent with the coefficients?
Hints
Hint 1
Bound both signs of each trade: An auxiliary magnitude must be at least the trade and at least its negative; a positive objective cost then drives it to equality.
Follow-up questions
- How would different buy and sell costs change the variables?
- Why does a fixed fee require integer decisions?
- What does adding a quadratic covariance penalty do to the problem class?
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.