Code Monkey home page Code Monkey logo

gpso's People

Contributors

jhadida avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

motorfan

gpso's Issues

Undefined 'f4' in minimize.m

https://github.com/jhadida/gpso/blob/master/gpml/util/minimize.m

While running the code, the run was terminated with an error 'undefined variable f4' in the script minimize.m. So looking at the script, at ln 125, we have the following:

while (abs(d3) > -SIGd0 || f3 > f0+x3RHOd0) && M > 0 % keep interpolating
if d3 > 0 || f3 > f0+x3
RHOd0 % choose subinterval
x4 = x3; f4 = f3; d4 = d3; % move point 3 to point 4
else
x2 = x3; f2 = f3; d2 = d3; % move point 3 to point 2
end
if f4 > f0
x3 = x2-(0.5
d2*(x4-x2)^2)/(f4-f2-d2*(x4-x2)); % quadratic interpolation
else .....

if d3 > 0 || f3 > f0+x3RHOd0 is true, then x4 = x3; f4 = f3; d4 = d3; will be executed and hence f4 is defined. However, if not true, then f4 will not be defined. And on ln 130, it follows with this condition: if f4 > f0... So if f4 is not defined, then there will be an error and the run terminates.

Could I seek clarifications on the above issue? Thank you.

Failed to call deck during gpml compiling

Hi, I was using your GPSO and Deck packages long time ago and it worked very well. Now when I want to replicate my previous results. I found gpso cannot recognize deck (dk.xxx) even though I added path for both packages.

So I tried to remove the previous repositories and reinstall everything.
First I followed this readme https://github.com/jhadida/deck to install deck and it was successful. See the following screenshots:
image
image
image

Then I followed the gpso readme: https://github.com/jhadida/gpso. But when I run gpml_start, it said it cannot find deck:
image
As you can see, the deck paths and gpso paths are already inside matlab paths.

How should I fix this problem? Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.