|
From: | Victor Gutierrez |
Subject: | [Help-glpk] Help needed |
Date: | Sun, 24 Jun 2012 10:55:57 -0700 (PDT) |
Hi I need to pre-process some data before an optimization problem begins. I'm doing the following: If I have the following array of parameters: param values = [0 0 0 0 8 9 0 0] I would like to have in one parameter the index k where the first element of the array "values" is different of zero, i.e. param index := 5 due to values[5] != 0 could you help me with this. Thank you in advance Victor |
[Prev in Thread] | Current Thread | [Next in Thread] |