How to model merit order (stepwise function)
2 ビュー (過去 30 日間)
古いコメントを表示
I want to model an inverse merit-order (from highest price to lowest price) of products with varying quantity x(t) and price y(t) at time t. Products are included in the merit order until cumsum(x(t) = z(t)). Z is exogenously given. Note: if z(t) increases over time, the merit order should shift to the right to include the next available product with marginally higher price y(t).
Currently I have a vector MC(t) where 80 products are sorted based on their price, and a corresponding vector Q(t) with the corresponding quantities x(t). How to proceed? Thanks in advance!
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!