Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

This is probably simple and I'm being dumb, but I am definitely stuck.

I would like to solve

$\text{min}_{\{n_j\}_{j=1}^{J}} \sum_{j=1}^J n_j c_j$

subject to

$\sum_{j=1}^J n_j(j-p)=0$

$n_j\geq 0 \quad \forall j$

Technically the n are integers but I'll settle for a solution that treats them as continuous. $c_j$ and $p$ are known parameters.

Any one? Thanks.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.