mcmelania

10 Reputation

One Badge

14 years, 325 days

MaplePrimes Activity


These are questions asked by mcmelania

Hello,

I ran into problems while trying to write the input to NLPSolve in the Matrix Form because the problem dimensions depend on the input data. Take the following example:

max f(x)           <- f a nonlinear function of x

st: x1+x2+x3+x4                     ≤ b

Hi,

I am trying to solve the following optimization problem:

max ∑ij cijxij

st.: xij ≤ indic(∑uvxuv>0), u≠i, v>j, for all i & j,

      xij=0..1, for all i & j, where "indic()" is the indicator function.

My problem lies in evaluation of the inequality constraint. It gives back an error about the non-numeric type of the expression.

Page 1 of 1