How to formulate rank using R API?
ユーザーの入力を待っています。I have observations Y_1, Y_2,..., Y_n. Except using indicator function \sum I(Y_k<=Y_i), k = 1,...,n to formulate rank of Y_i, it there any other way to formulate rank in the constraints?
For my specific optimization problem, using indicator functions to formulate rank is to use mixed interger linear programming, and this involves too many decision variables (O(n^2)) when n is large. It runs out of time and I guess Gurobi cannot even converge for some cases. So I'm wondering do we have any computationally efficient way to formulate rank in the constraint?
Thank you!
-
Hi Zhe,
Can you detail exactly what your definition of a rank constraint is with respect to your variables?
It is not clear from you latex code, which seems to be incomplete.
- Riley0
サインインしてコメントを残してください。
コメント
1件のコメント