bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-glpk] Java Runtime Env. Error


From: xypron
Subject: Re: [Bug-glpk] Java Runtime Env. Error
Date: Tue, 22 Dec 2009 13:22:37 -0800 (PST)

Hello Yang,

could you, please, provide an example file that provokes the described
behavior.

Please, be aware that GLPK is not threadsafe. Is you application using
multiple
threads to call GLPK?

Best regards

Xypron


Yang Ji-2 wrote:
> 
> Dear Glpk Developer,
> 
>  
> 
> I use Glpk for Windows (4.40) and program 
> with Java SKD 6 Update 18.
> 
>  
> 
> Sometimes it works well, sometime not, I have got the 
> correct result as follow or
> 
>  
> 
> the error report, just randomly.
> 
>  
> 
> I hope, there is some here can help me. Thanks a lot in 
> advance.
> 
>  
> 
> best regards,
> 
>  
> 
> Yang
> 
>  
> 
>  
> 
> //////////////////////////////////////////////////////////////////////////////
> 
> ipp_basic_tech:  951 row(s) and 800 column(s) 
> removed
> ipp_reduce_bnds: 1 pass(es) made, 0 bound(s) 
> reduced
> ipp_basic_tech:  0 row(s) and 0 column(s) 
> removed
> ipp_reduce_coef: 1 pass(es) made, 0 coefficient(s) 
> reduced
> glp_intopt: presolved MIP has 34 rows, 61 columns, 254 
> non-zeros
> glp_intopt: 61 integer columns, all of which are 
> binary
> Scaling...
>  A: min|aij| = 1.000e+000  max|aij| = 
> 1.000e+000  ratio = 1.000e+000
> Problem data seem to be well 
> scaled
> Constructing initial basis...
> Size of triangular part = 
> 32
> Solving LP relaxation...
>       0: obj =  
> 0.000000000e+000  infeas = 6.000e+000 (2)
> *     2: 
> obj =  3.089439633e+004  infeas = 0.000e+000 
> (2)
> *     7: obj =  2.994545939e+004  infeas = 
> 0.000e+000 (1)
> OPTIMAL SOLUTION FOUND
> Integer optimization 
> begins...
> +     7: mip =     not 
> found yet 
>>=              
> -inf        (1; 
> 0)
> +     7: >>>>>  2.994545939e+004 
>>=  2.994545939e+004   0.0% (1; 
> 0)
> +     7: mip =  2.994545939e+004 
>>=     tree is empty   0.0% (0; 1)
> INTEGER 
> OPTIMAL SOLUTION FOUND
> x_1_16
> x_17_30
> x_31_41
> 
>  
> 
> //////////////////////////////////////////////////////////////////////////////
> 
> #
> # A fatal error has been detected by the Java 
> Runtime Environment:
> #
> #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at 
> pc=0x77805d4e, pid=5516, tid=4848
> #
> # JRE version: 6.0_18-b05
> # Java 
> VM: Java HotSpot(TM) Client VM (16.0-b12 mixed mode windows-x86 )
> # 
> Problematic frame:
> # C  [ntdll.dll+0x55d4e]
> #
> # An error report 
> file with more information is saved as:
> # 
> D:\forbau\projects\Integrator2009\hs_err_pid5516.log
> #
> # If you would like 
> to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> # 
> The crash happened outside the Java Virtual Machine in native code.
> # See 
> problematic frame for where to report the bug.
> #
> 
>  
> 
> [error occurred during error reporting , id 
> 0xc0000005]
> 
> 
> 
>  
> 
> 
> 
> 
> 
> Dear Glpk Developer, 
>   
> I use Glpk for Windows (4.40) and program 
> with Java SKD 6 Update 18. 
>   
> Sometimes it works well, sometime not, I have got the 
> correct result as follow or 
>   
> the error report, just randomly. 
>   
> I hope, there is some here can help me. Thanks a lot in 
> advance. 
>   
> best regards, 
>   
> Yang 
>   
>   
> //////////////////////////////////////////////////////////////////////////////
>  
> ipp_basic_tech:  951 row(s) and 800 column(s) 
> removed ipp_reduce_bnds: 1 pass(es) made, 0 bound(s) 
> reduced ipp_basic_tech:  0 row(s) and 0 column(s) 
> removed ipp_reduce_coef: 1 pass(es) made, 0 coefficient(s) 
> reduced glp_intopt: presolved MIP has 34 rows, 61 columns, 254 
> non-zeros glp_intopt: 61 integer columns, all of which are 
> binary Scaling...  A: min|aij| = 1.000e+000  max|aij| = 
> 1.000e+000  ratio = 1.000e+000 Problem data seem to be well 
> scaled Constructing initial basis... Size of triangular part = 
> 32 Solving LP relaxation...       0: obj =  
> 0.000000000e+000  infeas = 6.000e+000 (2) *    
> 2: 
> obj =  3.089439633e+004  infeas = 0.000e+000 
> (2) *     7: obj =  2.994545939e+004  infeas
> = 
> 0.000e+000 (1) OPTIMAL SOLUTION FOUND Integer optimization 
> begins... +     7: mip =     not 
> found yet 
> >=             
>  
> -inf        (1; 
> 0) +     7: >>>>> 
> 2.994545939e+004 
> >=  2.994545939e+004   0.0% (1; 
> 0) +     7: mip =  2.994545939e+004 
> >=     tree is empty   0.0% (0; 1)
> INTEGER 
> OPTIMAL SOLUTION FOUND x_1_16 x_17_30 x_31_41 
>   
> //////////////////////////////////////////////////////////////////////////////
>  
> # # A fatal error has been detected by the Java 
> Runtime Environment: # #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at 
> pc=0x77805d4e, pid=5516, tid=4848 # # JRE version: 6.0_18-b05 # Java 
> VM: Java HotSpot(TM) Client VM (16.0-b12 mixed mode windows-x86 ) # 
> Problematic frame: # C  [ntdll.dll+0x55d4e] # # An error report 
> file with more information is saved as: # 
> D:\forbau\projects\Integrator2009\hs_err_pid5516.log # # If you would like 
> to submit a bug report, please visit: #  
> http://java.sun.com/webapps/bugreport/crash.jsp # 
> The crash happened outside the Java Virtual Machine in native code. # See 
> problematic frame for where to report the bug. # 
>   
> [error occurred during error reporting , id 
> 0xc0000005] 
> 
> _______________________________________________
> Bug-glpk mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-glpk
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Java-Runtime-Env.-Error-tp26880066p26894543.html
Sent from the Gnu - GLPK - Bugs mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]