glpk Questions

10

Solved

I'm trying to use the GLPK solver with Pyomo. I have a working model that's been tested, but keep getting an error saying GLPK can't be found. WARNING: Could not locate the 'glpsol' executable,...
Pascoe asked 31/8, 2015 at 16:46

5

I am a newbie with python and optimization. I am getting some error, please help me resolve it. I tried running the below mentioned code in PyCharm where I am running Anaconda 3 from pulp import *...
Sinuation asked 13/1, 2016 at 10:27

3

Solved

Are there any Mixed Integer Linear Programming(MILP) solver for Python? Can GLPK python solve MILP problem? I read that it can solve Mixed integer problem. I am very new to linear programming prob...
Moxa asked 10/10, 2014 at 18:22

1

Solved

background I am trying to write an pyomo script to optimally dispatch a gas plant based on perfect foresight of electricity prices. I believe I am 90% of the way there, just a few issues. Problem M...
Peptide asked 12/3, 2022 at 23:28

10

I am trying to install sparkTable in R 3.1.0 which depends on Rglpk. I manually installed GPLK on the system and added the libs folder to LD_LIBRARY_PATH before going into R for the install.package...
Hamachi asked 4/8, 2014 at 8:44

1

I'm trying to install glpk using pip on a virtual enviroment but it keeps giving this error regarding the wheels for pip installing "ERROR: Could not build wheels for glpk which use PEP 517 an...
Oeillade asked 25/6, 2020 at 14:54

0

when trying to install glpk I get the following error. I've tried many things to solve it but I don't get to find a solution Collecting glpk Using cached glpk-0.4.5.tar.gz (152 kB) Installing bu...
Indictment asked 27/4, 2020 at 10:37

4

I want to use "pyomo" for my studies. I installed pyomo via easy_install coopr install instructions, Pyomo needs a solver to work so I wanted to install the (GNU Linear Programming Kit) glpk_webpa...
Illimitable asked 19/12, 2013 at 19:34

3

Solved

I use 64 bit Windows 10. I downloaded glpk-4.64 for Windows. I unzipped the file to my documents. I added the w64 path in this folder to Windows' environment variables. I check if the glpk works in...
Contrabass asked 19/1, 2018 at 19:55

1

Solved

I am trying to solve an optimization problem using mixed integer linear programming on PuLP with GLPK solver on Python. So far I have been successful solving basic optimization problems with constr...
Eastbound asked 12/11, 2019 at 19:29

2

Solved

I'm trying to use PuLP, but it is taking 50 seconds to add 4000 constraints (with 67 variables). Solving the problem only takes a fraction of a second. We want to use PuLP to easily test several s...
Vote asked 30/10, 2014 at 1:13

0

I have a Docker machine running Linux. I am using Pyomo with the GLPK solver. I installed GLPK from the shell command line for the Docker image, using apt-get install glpk-utils I have all my code...
Libratory asked 11/3, 2018 at 20:21

0

I'm working on an mid-sized linear program (70k x 10k sparse constraint matrix) and need to run a large number of scenarios, requiring ~2,000 CPU-hours at my current solve time. Because the c...
Pavlov asked 7/8, 2015 at 0:24

4

Solved

I am struggling to compile PyGLPK on OSX 10.8. I have installed glpk and gmp through homebrew. I have verified that the following files are all present in /usr/local/include gmp.h gmpxx.h glpk.h ...
Gong asked 3/3, 2014 at 0:17

1

Solved

I have to find all basic solutions of some tiny linear-programming problems. Here's an example (in lp_solve format): max: x1 + x2; x1 + x2 <= 1; x1 <= 0.8; x2 <= 0.8; All 2 basic solut...
Bustee asked 16/2, 2015 at 2:45

1

Solved

I am running PuLP Programming Library in Python 2.7.8, Windows 32 bit. I'm using GLPK as my solver for a mixed integer linear programming problem. The solver converges to approx. 1% of the optimal ...

1

Solved

Here is my full problem: Information: *Max. total investment: $125 *Pay-off is the sum of the units bought x pay-off/unit *Cost per investment: Buy-in cost + cost/unit x number of units if yo...
Ostiole asked 17/3, 2013 at 18:18
1

© 2022 - 2024 — McMap. All rights reserved.