Re: [ojAlgo-user] How to set OjAlgoUtils.ENVIRONMENT?
Mathematics, linear algebra and optimisation
Brought to you by:
apete
|
From: Leon G. <st1...@st...> - 2017-07-03 12:52:18
|
Hey Anders, my first approach was to use the "Hardware.makeSimple()" call mentioned below. But it did not work the way I expected it to do 😊 I'm running my optimization on an Intel i5-4670K with 16GB of RAM which I like to make use of. Best regards, Leon -----Ursprüngliche Nachricht----- Von: Anders Peterson [mailto:an...@op...] Gesendet: Samstag, 1. Juli 2017 22:29 An: Leon Graser <st1...@st...> Cc: oja...@li... Betreff: Re: [ojAlgo-user] How to set OjAlgoUtils.ENVIRONMENT? 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 |