Menu

#60 RANDom search example

Any Version
open
nobody
None
5
2016-01-08
2016-01-08
Anonymous
No

Is there an example of how we can use the random search? Is it possible to specify the number of evaluations in RS algo?

Discussion

  • Anonymous

    Anonymous - 2016-01-08

    Use it like any other algorithm:

    NondominatedPopulation result = new Executor()
        .withProblem("UF1")
        .withAlgorithm("Random")
        .withMaxEvaluations(10000)
        .run();
    
     
  • Anonymous

    Anonymous - 2016-01-08

    .withMaxEvaluations(20) for example, didn't work. It runs the RS program fore more than 20 evaluations.
    Another question, in case I want to use random search with two objectives. How does it work? how does it return the optimal solution ?

     
  • Anonymous

    Anonymous - 2016-01-08

    it seems like a bug for Random search. It does not take into account the property MaxEvaluations

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.