Code Monkey home page Code Monkey logo

Comments (10)

jfowkes avatar jfowkes commented on August 18, 2024

Hi @KenZhenLin, many thanks for reporting. This is a bug upstream in archdefs, could you please edit /home/cutest/archdefs/compiler.pc64.lnx.gfo and change the line:

FORTRAN='gfortran-12'

to read

FORTRAN='gfortran'

and re-run the install script (you may need to delete any temporary files that have been created). I will report this upstream and it will hopefully be fixed soon.

from pycutest.

jfowkes avatar jfowkes commented on August 18, 2024

@KenZhenLin this has now been fixed upstream, please update your archdefs to the latest.

from pycutest.

KenZhenLin avatar KenZhenLin commented on August 18, 2024

@KenZhenLin this has now been fixed upstream, please update your archdefs to the latest.

Thanks a lot for the quick response! I would like to remove everything and try it again. Would it be sufficient to remove the directory cutest?

from pycutest.

jfowkes avatar jfowkes commented on August 18, 2024

@KenZhenLin yes if you remove the top level /home/cutest directory that should work.

from pycutest.

KenZhenLin avatar KenZhenLin commented on August 18, 2024

@KenZhenLin yes if you remove the top level /home/cutest directory that should work.

Thanks! I tried it again, and that line does not have issues anymore!
Now I got an error when trying the test

cd $SIFDECODE/src ; make -f $SIFDECODE/makefiles/$MYARCH test

The message is long, but in the end it shows:

echo ""

echo " Decode unconstrained SIF file"
 Decode unconstrained SIF file
cd /home/cutest/sifdecode//sif/ ; sifdecoder ALLINITU
/bin/sh: sifdecoder: command not found
make[1]: *** [test_unconstrained_double] Error 127
make[1]: Leaving directory `/home/cutest/sifdecode/src/decode'
make: *** [test_double] Error 2

from pycutest.

jfowkes avatar jfowkes commented on August 18, 2024

Great, I wouldn't worry about those tests, as long as CUTEst and SIFDecoder were successfully installed you should now be able to install PyCUTEst.

from pycutest.

KenZhenLin avatar KenZhenLin commented on August 18, 2024

Great, I wouldn't worry about those tests, as long as CUTEst and SIFDecoder were successfully installed you should now be able to install PyCUTEst.

Thanks! The process went well, I just need to do a few tests to make sure everything works correctly. I will give you an update when it's done!

May I ask some quick questions?

Can I assume all the problems from pycutest.import_problem are the original CUTEst problems without any modifications (such as removing constant terms)?

Also I don't see a description on if a problem is minimization or maximization, are they all assumed to be minimization?

Finally, I see there is a closed question on getting the optimal objective value and the corresponding x. Looks like some files, for example ARGLINA.SIF, do not have the optimal value. Is there now a better way to get the optimal objective value, and the x that attains the optimal, if possible?

Thank you!

from pycutest.

lindonroberts avatar lindonroberts commented on August 18, 2024

Hi @KenZhenLin, in response to your questions:

  • The problems are imported exactly as per the original CUTEst problems, except fixed variables (i.e. where the upper and lower bounds are equal) are dropped. This can be changed by setting the optional argument drop_fixed_variables=False
  • Yes, all problems are minimization
  • Sorry, we still don't have a way to get the optimal objective value/solution x in PyCUTEst

Thanks!

from pycutest.

KenZhenLin avatar KenZhenLin commented on August 18, 2024

Hi @KenZhenLin, in response to your questions:

  • The problems are imported exactly as per the original CUTEst problems, except fixed variables (i.e. where the upper and lower bounds are equal) are dropped. This can be changed by setting the optional argument drop_fixed_variables=False
  • Yes, all problems are minimization
  • Sorry, we still don't have a way to get the optimal objective value/solution x in PyCUTEst

Thanks!

I see! Thank you for the clear answer!

from pycutest.

jfowkes avatar jfowkes commented on August 18, 2024

Closing as this bug has been fixed upstream in ARCHDefs.

from pycutest.

Related Issues (20)

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.