[Symphony] RSymphony appcrash
Ashutosh Mahajan
asm4 at lehigh.edu
Tue Jan 18 15:04:39 EST 2011
Vladyslav,
What version of symphony are you using?
You could try passing an option to Symphony that increases its verbosity, to
say 5 or 10, andand send us the output. In a 'C' interface you could do it by
sym_set_int_param(env, "verbosity", 10);
I don't know how you can do it in 'R'. I see that symphony is able to solve
this particular MILP in the presolver, if I run it directly (without R) using
your inputs.
--
regards
Ashutosh Mahajan
http://coral.ie.lehigh.edu/~asm4
On Thu, Jan 06, 2011 at 04:14:14PM +0200, Vladyslav Kolbasin wrote:
>
>
> Hi list,
>
> I use Symphony under R (use RSymphony package).
> Please tell me why sometimes RSymphony.dll crashes on Windows 7 (may be on
> other Windows too).
>
> I saw that it depends on input data. For example this code bring to crash:
>
> library('Rsymphony')
> mat = c(0, 1, -100.37967, 0, 0, 1, 0, 0, -200, 0, 0, 1, -0.4, 0, 0,
> 1, 0, 0, -0.4, 0, 0.5, 0, 0, 0, 0, 0, -1, 0, 0, 0)
> mat = matrix(mat, nrow=6, byrow=TRUE)
> mat
>
> dir = c("<=", "<=", ">=", ">=", "==", "==")
> rhs = rep(0, 6)
> obj = c(1, 1, 1, 1, 1)
> types = c("C", "C", "B", "B", "B")
> bounds = NULL
>
> solution<-Rsymphony_solve_LP(obj,mat,dir,rhs, bounds=bounds, types=types,
> max = TRUE)
> solution
>
> Sometimes crashes not RSymphony.dll module but ntdll.dll - don't know how
> exactly repeat this crash.
>
> Best, Vladyslav
> _______________________________________________
> Symphony mailing list
> Symphony at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/symphony
More information about the Symphony
mailing list