Questions tagged [modeling-languages]

For questions related to (algebraic) modeling languages such as AMPL and GAMS, which facilitate the process of translating an optimization model written in algebraic form to the matrices, vectors, and other data needed by general-purpose solvers.

Filter by
Sorted by
Tagged with
1 vote
3 answers
111 views

Optimization solver that satisfies variable values within set membership

Is there a solver that can handle an AMPL model of this sort: ...
2 votes
0 answers
56 views

Discrepancy between CPLEX interface solution and C API

I have a C API program uploaded here in Dropbox that is an LP. Here is the problem: When I compile the C file it gives me "1017 Not available for mixed-integer problems" while the problem is ...
  • 27
2 votes
1 answer
44 views

Automatic Reformulation Tools For AML Programs

Are there any tools to transform programs written in an algebraic modeling language like GAMS,AMPL,... into a different formulation. E.g. there is a quadratic constraint $\sum_j b_i b_j = N, b \in \...
0 votes
0 answers
48 views

Using the sum function in GAMS to sum over a subset

How can I express these types of domain-restricted operations in GAMS? I found an example that is related but does not quite address the same problem I am having (see the link page 344-345) GAMS User ...
  • 51
6 votes
2 answers
297 views

Does a modeling language that generates SAT instances exist?

Nowadays, we enjoy the expressivity of modern modeling languages. However, does it exists a modeling language that takes in input a declarative problem definition (like AMPL or MiniZinc, or similar),...
2 votes
1 answer
3k views

No executable found for solver 'ipopt

I know that there are some questions concerning this type of error, for example, this link. I first installed the latest version of ipopt through command line into my Pyomo environment and got the &...
  • 133
11 votes
3 answers
905 views

From a performance/speed perspective, does the programming language matter if the solver used is the same?

Perhaps a silly question, I know... But just wondering if the programming language has an impact here if the solver used is the same? For instance, the same model formulation being solved using Gurobi ...
  • 159
2 votes
0 answers
129 views

How to use NEOS without using Pyomo

I am new to modelling language and specifically NEOS server. I aim to solve MINLP using Baron, through the NEOS server. So, far I have been able to write model file, data file and command file as ...
user avatar
3 votes
1 answer
424 views

How to assign values to array in CPLEX with C++?

I am new to CPLEX. I am using CPLEX with Xcode in macOS. I have three arrays (known parameters used in optimisation) which I define as ...
  • 2,179
6 votes
1 answer
264 views

Is JuMPeR good enough for Robust Optimization problem?

I'm a graduate student studying Robust Optimization (RO). So far, I've been studied the theoretic point of RO, and now I am looking for an actual tool for solving RO problems, both for practice and ...
  • 166
7 votes
0 answers
153 views

Modelers and modeling languages: how do you choose, and which features do you use?

There are many modeling languages and APIs around. One or more per solver, plus many that target multiple solvers: AMPL, GAMS, PuLP, JuMP, Pyomo... Among all these possibilities, why did you pick a ...
  • 1,722
10 votes
1 answer
536 views

I've formulated my optimization model; now what?

I've formulated my linear/nonlinear/integer/mixed-integer optimization problem in algebraic form (possibly with the help of the folks on this site). Now what? How do I solve it?
24 votes
3 answers
9k views

What is the purpose of libraries like Pyomo and Google OR tools?

I'm new to the OR world, and trying to learn the various tools available. I originally thought that Pyomo and Google OR tools were open source alternatives to commercial solvers like Gurobi or CPLEX. ...
  • 2,059
8 votes
1 answer
713 views

Understanding the AMPL Solver LIbrary within Pyomo

For anyone familiar with the Pyomo book, it occasionally makes reference to the AMPL Solver Library, and to my understanding, if you can manage to hook up to the solver library then you are able to ...
14 votes
1 answer
1k views

Comparison of Algebraic modelling languages and general programming languages

Some optimization software/frameworks (commercial or open-source) such as AMPL, GAMS, Cplex, ... have a specific Algebraic modelling language. Some of them have another type of programming that uses ...
  • 7,281
10 votes
2 answers
2k views

How to get GAMS's solvers to work from Pyomo?

I want to run a model written in Pyomo language with CPLEX solver of GAMS. However I get the following error: ...