The KLargest.lng Model

Find Kth largest of a set

View the model

Download the model

Given a set of values, X( I),

Find THETA = Kth largest value in a set of values X( I).

Also, compute sum of K largest.

The X( I) may be variables, they need not be constants.

Only the upper and lower bounds, XU and XL, must be known constants;

Keywords:

Sorting | P median | Median |