## Search found 19 matches

- 4 months ago
- Forum: Syntax
- Topic: linearization of power function
- Replies:
**1** - Views:
**303**

### linearization of power function

Hi, I am facing problem in linearizing the below non-separable function. Any suggestions for linearization of the con_1 ?? Best Regards, Rofice variable c ; positive Variable x,y; integer variable z; equation con_1,con_2; con_1.. x =e= y**z; con_2.. c =e= 3*x ; y.up = 3; z.lo = 1; z.up = 4; model m ...

- 4 months ago
- Forum: Syntax
- Topic: Syntax for sets
- Replies:
**2** - Views:
**212**

- 4 months ago
- Forum: Syntax
- Topic: Syntax for sets
- Replies:
**2** - Views:
**212**

### Syntax for sets

Hi, Kindly help me in writing syntax. Set "ssmxr" is the function of (mxr,str). I have two objectives for the set "ssmxr". (1): it can only take values of selected mixers for linearization (see set smxr). (2): it can only take first value of str of selected mixers for linearization Set mxr number of...

- 10 months ago
- Forum: Syntax
- Topic: How to model iterative calculation?
- Replies:
**3** - Views:
**485**

### Re: How to model iterative calculation?

Thanks cladelpino for your reply. Let me explain aforementioned problem in another way. I am enclosing a fabricated model to explain my problem in more detail. In the below model profit comes from selling product and subtracting raw material cost. Rate of profit depends upon the selling price of pro...

- 10 months ago
- Forum: Syntax
- Topic: How to model iterative calculation?
- Replies:
**3** - Views:
**485**

### How to model iterative calculation?

Hi! I want to perform calculations similar to goal seek function in Microsoft Excel. Below is the problem statement. Let a and b are scalar and their values are below a=2 b=10 c is a parameter and can be estimated by the following relation c=a+b Ofcourse value of 'c' will be 12, but I want to model ...

- 1 year ago
- Forum: Modeling
- Topic: Unbounded Solution
- Replies:
**2** - Views:
**896**

### Re: Unbounded Solution

Dear Renger,

Thank you for your response, I caught your hint. Actually I was not aware that I can use variable f3 as f3.l and then define f4 as a parameter and find f4. Thanks for sharing knowledge.

Warm Regards,

Rofice

Thank you for your response, I caught your hint. Actually I was not aware that I can use variable f3 as f3.l and then define f4 as a parameter and find f4. Thanks for sharing knowledge.

Warm Regards,

Rofice

- 1 year ago
- Forum: Modeling
- Topic: Unbounded Solution
- Replies:
**2** - Views:
**896**

### Unbounded Solution

Hi All, I am trying to decompose model(may be it is also called multi-objective problem ) in such a way a that value of variables estimated in first sub model can be used for second sub model. But in doing so second model leading to infeasible solution due to unbounded. Please give me suggestions ho...

### Re: LOOP

Thank you Sir, It works :) Can you recommend any book with case studies or examples for loop functions? When you reach 20 the calculation is not executed so a(i+1) is equal to zero. which means it is below 20 and the process starts over again. so you will need to build in a switch that tells you, yo...

### LOOP

Set i /0*100/ ; parameter a(i) ; a('0') = 0 ; loop(i, a(i+1) = a(i)+1 ; ) ; Display a; How I can transform the above loop, so that iteration stop when a(i+1) = 20 I used the following loop(i$(a(i) lt 20), a(i+1) = (a(i)+1)$(a(i) lt 20) ; but when value reaches to 20, iteration keep going. Best Regards

- 1 year ago
- Forum: Syntax
- Topic: Reformulation
- Replies:
**2** - Views:
**698**

### Re: Reformulation

Hi Renger, Reason for approximation is, I am making MIP model. I will be pleased if you can share your thoughts on this, Actually I solved this model completely as MINLP but later my boss want global solution. So my question is why we need global solution? As far as I know local solution may miss tr...