I think I would need to see sample data to understand what you mean. It seems like the optimization requires a vector. If you want to apply this optimization to several predator vectors that are stored in a data base, use the GLOBAL statement so that the predator vector is considered a parameter in the problem: start qfasa(y) global(predator); ... finish; do i = 1 to ncol(big_matrix); predator = big_matrix[, i]; call nlpqn(rc,xr,"qfasa",y,optn,c) ; /* solve for this column */ /* store or do something with xr */ end;
... View more