Search found 24 matches

by Rofice
6 months ago
Forum: Syntax
Topic: Storing solution
Replies: 2
Views: 418

Re: Storing solution

Dear Renger,

Thank you very much for the formulation.

kind regards,
Rofice
by Rofice
6 months ago
Forum: Syntax
Topic: Storing solution
Replies: 2
Views: 418

Storing solution

Dear all, I am facing problem in formulating syntax for storing (recording) the frequency (how many times the same solution is found) of solution. In other words, in the attached model sensitivity analysis is performed and after each iteration, a new solution is found. What I want is to systematical...
by Rofice
1 year ago
Forum: Modeling
Topic: Integer cut
Replies: 7
Views: 1022

Re: Integer cut

Dear Renger and Steve, I really appreciate your suggestions and formulations. Steve, I think you forget to attach the second model because the second file is only GDX. I have made a formulation that systematically adds cuts to model and finds all feasible solution and terminates as soon solution bec...
by Rofice
1 year ago
Forum: Modeling
Topic: Integer cut
Replies: 7
Views: 1022

Re: Integer cut

Hi Renger, Yes, I did. I don't get it. I don't have integer variables in my real model; it only contains binary variables and continuous variables. That's why I just formulated simple model consisting of only binary variables. Now, if I want to use systematic enumeration procedure do I need extra bi...
by Rofice
1 year ago
Forum: Modeling
Topic: Integer cut
Replies: 7
Views: 1022

Integer cut

Dear all, Is there any way to enumerate all possible solutions of attached model in a systematic manner? Currently, I am adding integer cuts one by one after finding solution. I will really appreciate for addressing this issue. Also I want record solution of each integer cut. Best regards, Rofice
by Rofice
1 year ago
Forum: Syntax
Topic: linearization of power function
Replies: 1
Views: 745

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 ...
by Rofice
1 year ago
Forum: Syntax
Topic: Syntax for sets
Replies: 2
Views: 665

Re: Syntax for sets

Thanks Sir.
by Rofice
1 year ago
Forum: Syntax
Topic: Syntax for sets
Replies: 2
Views: 665

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...
by Rofice
2 years ago
Forum: Syntax
Topic: How to model iterative calculation?
Replies: 3
Views: 1113

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...
by Rofice
2 years ago
Forum: Syntax
Topic: How to model iterative calculation?
Replies: 3
Views: 1113

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 ...