Re: [ojAlgo-user] How to set OjAlgoUtils.ENVIRONMENT?
Mathematics, linear algebra and optimisation
Brought to you by:
apete
From: Anders P. <an...@op...> - 2017-07-01 20:28:46
|
What you see is not an error - it’s just info. You get that info whenever you “start” ojAlgo and its predefined hardware profiles don’t match. If you reset OjAlgoUtils.ENVIRONMENT that happens after, and there is no need to set it if all you do is a “simple”. Take a look at the source code of OjAlgoUtils and you should see how it works: https://github.com/optimatika/ojAlgo/blob/master/src/org/ojalgo/OjAlgoUtils.java What you could do is tell me what kind of cpu and how much ram you have, and I’ll make sure ojAlgo understands that. /Anders > On 1 Jul 2017, at 20:58, Leon Graser via ojAlgo-user <oja...@li...> wrote: > > Hey, > > I managed to solve small linear optimization problems using ojAlgo. Unfortunately, for bigger problems of approx. 450 variables and up it takes ages and the memory limits the execution. Hence I increased the memory using the -Xmx JVM argument. But now I get an error stating to modify “OjAlgoUtils.ENVIRONMENT” according to my system. I tried to use “Hardware.makeSimple("x86_64", 17179869184l, 4).virtualise();” but I still receive the very same error. > Any hints how to set the environment field correctly? > > Best regards, > Leon > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ > ojAlgo-user mailing list > ojA...@li... > https://lists.sourceforge.net/lists/listinfo/ojalgo-user |