[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] glp_analyze_bound
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] glp_analyze_bound |
Date: |
Mon, 28 Jun 2010 20:29:09 +0400 |
> I'm trying to use glp_analyze_bound:
> double *limit1;
> double *limit2;
> int *var1, *var2;
> glp_prob *GLV;
> GLV = glp_create_prob();
> glp_read_mps(GLV, GLP_MPS_FILE, NULL, mpscardfile);
> glp_adv_basis(GLV, 0);
> glp_simplex(GLV, NULL);
> glp_print_sol(GLV, "../out/GLV_SOL.dat"); // write the results in
> this
> file
> glp_analyze_bound(GLV, 473, limit1, var1, limit2, var2);
> but I do get a bus error when I use glp_analyze_bound.
> What's wrong?
What is a "bus error"? Do you mean something like segmentation fault,
or what?