Hi, it was a great article.1Ali GhJonathan HuiDec 26, 2018·1 min readThe high-level step is to rewrite the constraint with Lagrangian. Then solve the first order derivative to 0.