## Search found 37 matches

- 3 weeks ago
- Forum: Modeling
- Topic: Question about Simpson's integration.
- Replies:
**2** - Views:
**154**

### Re: Question about Simpson's integration.

If you find that using Simpson's rule is throwing you off, then by all means implement a solution using the trapezoid rule. That will give you something, and you can move from that to Simpson's quite easily, I believe. It seems to me the real difficulty is independent of which integration method is ...

- 2 months ago
- Forum: Tools
- Topic: Problem with round-tripping variables using rgdx / wgdx
- Replies:
**10** - Views:
**1474**

### Re: Problem with round-tripping variables using rgdx / wgdx

Hi, I should have mentioned a couple things in my last post on this. First, you cannot do a compressed read for variables or equations. For parameters, we squeeze out index positions that don't have any data, i.e.that are all zero. But for some fields of a variable, the default is not zero. For exam...

- 2 months ago
- Forum: Tools
- Topic: Problem with round-tripping variables using rgdx / wgdx
- Replies:
**10** - Views:
**1474**

### Re: Problem with round-tripping variables using rgdx / wgdx

Alois, I can appreciate the struggle you have been engaged in with R, gdxrrw, and GDX files. Please find below some observations about the topic that I hope you find helpful. I will also try to include some attachments of some GAMS and R source that illustrates a way forward for you. 1. GDX data is ...

- 2 months ago
- Forum: Modeling
- Topic: MIQP Problem Formulated as MIQCP?
- Replies:
**5** - Views:
**870**

### Re: MIQP Problem Formulated as MIQCP?

Gabriel,

From the log output you sent I would conclude that the GAMS/CPLEX link has found a general non-linear constraint in your problem. Simply put, it does not think it is a QCP. The specific output I refer to is:

General nonlinearity detected in row subobjregu

-Steve

From the log output you sent I would conclude that the GAMS/CPLEX link has found a general non-linear constraint in your problem. Simply put, it does not think it is a QCP. The specific output I refer to is:

General nonlinearity detected in row subobjregu

-Steve

- 2 months ago
- Forum: Syntax
- Topic: Problem in changing the parameter.
- Replies:
**6** - Views:
**755**

### Re: Problem in changing the parameter.

Luca, If you want an answer to your question, you have only to post a running (and hopefully minimal) example that reproduces the issue. I feel sure this will get you a helpful response. There is also a good chance that putting this together will lead you to the solution of your own problem. -Steve

- 3 months ago
- Forum: Modeling
- Topic: The shortest Route problem
- Replies:
**1** - Views:
**225**

### Re: The shortest Route problem

Hi, You might think that since the edge weights of a pair-wise shortest-path solution should be 0 or 1 (i.e. the edge is-not or is part of the shortest path) that the variables should be binary, but the LP constraint matrix has some nice properties (I recall learning about totally unimodular matrice...

- 3 months ago
- Forum: Modeling
- Topic: Error 149, Uncontrolled set entered as constant
- Replies:
**6** - Views:
**899**

### Re: Error 149, Uncontrolled set entered as constant

Sachin, I'm not sure I understand what you are trying to do, but it seems like you want to run a model for a number of different scenarios in the set scn. For each element of scn you will have some different inputs and you'll get (potentially) a different solution. But each solve considers only a si...

- 3 months ago
- Forum: Solvers
- Topic: Solver didn't provide marginals for model fulfilment
- Replies:
**6** - Views:
**1146**

### Re: Solver didn't provide marginals for model fulfilment

Hi, I can get similar output using the procsel model from the GAMS model library, so I'll use that output as an example. Running with defaults (but ANTIGONE as the solver) I get this in the .lst file: S O L V E S U M M A R Y MODEL process OBJECTIVE pr TYPE MINLP DIRECTION MAXIMIZE SOLVER ANTIGONE FR...

- 4 months ago
- Forum: Solvers
- Topic: Solver didn't provide marginals for model fulfilment
- Replies:
**6** - Views:
**1146**

### Re: Solver didn't provide marginals for model fulfilment

The model status of 8 Integer Solution indicates that the solver has found an integer solution, but it is not making the stronger claim that it is the globally optimal solution. This is somewhat at odds with the message "Termination status: Global minimum." that you have in your note. Without seeing...

- 4 months ago
- Forum: Solvers
- Topic: Solver didn't provide marginals for model fulfilment
- Replies:
**6** - Views:
**1146**

### Re: Solver didn't provide marginals for model fulfilment

Hello lixlz51, Your post raised some questions. First, you don't say anything about yourself (name, affiliation, etc.) This forum isn't intended for anonymous usage. Second, what do you mean by "model fulfillment"? What is it you would do with the marginal values (for a MINLP) that BARON might retur...