Code Monkey home page Code Monkey logo

solar's People

Contributors

sebastienledigabel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

solar's Issues

Possibly wrong return code from help

Hi,

First, thank you very much for this simulator; it is very beneficial for testing DFO methods.

A wrong return code seems to be provided when running the following code.

./bin/solar -h  # or ./bin/solar -h <pb_id>
echo $?

Indeed, the value one is returned. Is it intended or is it a small bug in the simulator?

Cheers,
Tom.

Gracefully handle `--help` and other unknown options

Though SOLAR does not support GNU-style long options (with two leading hyphens), it should probably interpret them as unknown options rather than as non-option arguments:

$ ./solar --help
Display help for Problem "--help":

This problem id is invalid

Perhaps using an option-parsing library would be advisable.

Refactor Makefile

Hi Sebastien,

Generally Makefiles are in the root of the project, which allows you to type make without further changing directories. In addition, some of the Makefile's variables, such as COMPILATOR, COMPILATOR_OPTIONS, etc., differ from the standard names. This is inconveniencing for users accustomed to CXX, CXXFLAGS, etc., when overriding the flags on the command line. Finally, I see that the dependencies are manually specified in the Makefile. There is a way to automatically generate them with gcc's -M* flags.

If you give me the go-ahead, I can prepare a PR addressing these issues.

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.