Hi,
I'm using GLPK in combination with a few other tools. When I run a really long
(several hours) test that sets up, solves and deletes lots of different
optimisations I get the following error:
xfree: memory allocation error
Error detected in file glplib07.c at line 138
Thus far I haven't
I have a symbolic set J, further I want to define a set B identifying
each unordered combination of different elements of aforementioned set:
set J;
set B := setof{j1 in J, j2 in J : j1 j2} (j1, j2);
display B;
data;
set J := 'A' 'B';
Unfortunately this results in error
Display
I have installed glpk-4.28 and replaced replace glp_ulong by glp_long in
file
glpkcc.cpp but when I run makeglpkmex Matlab send the next message:
GLPKMEX - A Matlab interface for GLPK. Script installer.
Version 2.4 compatible with GLPK 4.20 (or higher)
(C) 2001-2007, Nicolo'
I want to ask a question about problem of installation.
I got the following message when I run makeglpkmex to install glpkmex.
---
GLPKMEX - A Matlab interface for GLPK. Script
/home1/usr2/my_name/gnu4.28/lib/libglpk.a(glplib08.o)(.text+0x1d1):
In function `_glp_lib_xfopen #39;:
/home/usr2/my_name/glpk-4.28/src/glplib08.c:496: undefined reference to
`gzopen #39;
You need either to make zlib available to the linker passing it the
option '-lz', or rebuild glpk
for using SQL queries the database password must be used in the GLPK model.
It is unwise to save passwords in unencrypted files. In business
environments regulation often explicitly forbids such behavior.
The solution you kindly suggested would leave the password on the harddisk.
Being able
I replaced 'lib_mem_usage' by 'glp_mem_usage' but now have the next
message:
GLPKMEX - A Matlab interface for GLPK. Script installer.
Version 2.4 compatible with GLPK 4.20 (or higher)
(C) 2001-2007, Nicolo' Giorgetti.
Do you want to use graphic installer? Y/N [Y]: y
GLPK path...
Hello Andrew,
when invoking AMPL from the command line it is not possible to pass parameter
assignments on the command line (tested with the student version).
Commands can be passed as pipe, e.g.
ampl.exe test.txt.
type test1.txt con: test2.txt | ampl.exe
will execute the commands in