Recent content by parzio

  1. P

    Why Am I Getting Errors with Subscripts in Mathematica's NMinimize?

    Hi guys! I am trying to acquire some experience in Mathematica and goal programming. In the example shown in the attached image I am trying to minimize the deviations in order to obtain the first row matrix value nearest to 10. In this case I should obtain x11=5 , n1=5 and p1 =0...
  2. P

    Mathematica Mathematica, NMinimize extract data from list

    I try to be more clear. I have the following problem: I have to maximize the satisfaction of an employee with respect to a certain shift in an certain day of a month. I have the matrix satisfaction (Employees,shifts) and is something like this: S= {{4,3,5,2},{3,4,5,1}} Each element...
  3. P

    Mathematica Mathematica maximize element extraction from list

    Hi guys, I think this is a simple question for mathematica experts. How can I maximize the extracted value from a list given a index that has to respect some constrains? For example: S = {4,2,3,5} Maximize[{Extract[S,x], x<= 3, x>=1},{x}] I would like 4 is returned instead of...
  4. P

    Mathematica Mathematica, NMinimize extract data from list

    Hi guys, I am struggling again NMinimize. This is my problem: I am creating a model by using goal programming, my problem now is given a list of list i.e a matrix defined in this way S = {{5, 2, 7, 9}, {1, 2, 3, 4}, {3, 1, 2, 4}} extract from the first list {5,2,7,9} a number by...
Back
Top