Comments (10)
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.
@KenZhenLin this has now been fixed upstream, please update your archdefs to the latest.
from pycutest.
@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.
@KenZhenLin yes if you remove the top level /home/cutest
directory that should work.
from pycutest.
@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.
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.
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.
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.
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.
Closing as this bug has been fixed upstream in ARCHDefs.
from pycutest.
Related Issues (20)
- I want to specify the dimension of the unconstrained optimization problem, how do I set that? HOT 8
- PyCUTEst v1.5.0 breaks existing cached problems HOT 12
- module 'pycutest_cache_holder.X' has no attribute 'setup' HOT 1
- Better handling of incompatible Fortran compilers
- System state isn't restored after loading failure (`FileNotFoundError`) HOT 2
- How to find problems with equality constraints only? HOT 5
- Support for ARM-based Mac HOT 2
- import_problem HOT 5
- Release of memory HOT 6
- Facing error when attempting to run the given example HOT 2
- Conversion of an array with ndim > 0 to a scalar is deprecated and will error in future
- Pycutest with Knitro solver HOT 1
- Add new CUTEst routines for the John function HOT 2
- Add missing sparse routines (sobj, sgrad)
- Compilation in parallel on macOS does not work HOT 5
- Setuptools not installed by default HOT 3
- Switch to `pyproject.toml`
- Python Headers on Ubuntu HOT 3
- Inconsistency in problem dimensions between description and problem HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycutest.