I have freshly installed drake using pip and while going through tutorials about mathematical programs, I cannot use the example with IpoptSolver. I am getting this error message, however, I cannot find information in the documentation how to compile it. Could you point me to the right direction?
ValueError: IpoptSolver cannot Solve because IpoptSolver::available() is false, i.e., IpoptSolver has not been compiled as part of this binary. Refer to the IpoptSolver class overview documentation for how to compile it.
For the pip install instructions as of today, we see a link to still has some known issues; see issue #15954
Following that, we find a link to Enable IPOPT in pip wheel #15971, an issue which was only resolved 4 hours ago.
So yes, in recent past, the IPOPT solver was not yet shipped in the pip wheels. However, it will be included as of the v0.39.0 release within the next day or two. (Edit: Drake v0.39.0 has been released, and has IPOPT available now.)
In the meantime, possibly some other solver like NloptSolver or SnoptSolver would be able to solve the program.
The list of other solvers is here: https://drake.mit.edu/doxygen_cxx/group__solvers.html.
Related
Have read many SOF questions about OPENCV, they all tell me what each of them is.
When I see so many different but similar names, I feel great confusion.
I thought I need to just install opencv-python, but then out of sudden, I found there is another one which looks correct to me as well, py-opencv.... Gosh which one is the correct?!!!
So my question is:
In a newly created conda environment, I'd like to add open-cv to use in my Python Jupyter Notebook. Do I need to install all of them or just one?
Them: opencv, Python-OpenCV(opencv-python), py-opencv, libopencv
One: py-opencv or opencv-python
I am about to try YOLO as dll in Win10, x64, opencv 3.4.0, CUDA 10, MSVS 2015 as suggested here.
All the steps are done but when I build I have an error
The curious part for me is I couldn't find that opencv_cudaoptflow340.lib anywhere, not in the CUDA folders, not in the opencv340 (where my opencv resides), not even in the whole PC. So, naturally I tried to find it on the web, no luck. Only possible solution seemed to be this with CMake building. Obviously I followed it, however, CMake didn't give an opencv_cudaoptflow340.lib option at all.
How should I approach to find/make/create this .lib file?
I would like to see your experiences on this.
I think this would help others too.
Cheers!
I'm trying to start a purescript project that uses the purescript signal and drawing libraries. When I try to bower install with both of them as dependencies, bower's interactive prompt asks to resolve several dependency versions. I admittedly pick the versions somewhat arbitrarily since most of the issues are several layers of dependencies deep. Then when I pulp build a basic hello world piece of code that doesn't even use the dependencies, pulp gives around 40 errors depending on which versions I selected.
How do I resolve these dependency versions correctly? Sifting through forty errors and all of the dependencies for both projects doesn't seem feasible. Is there some non-arbitrary way of picking the versions that will resolve the conflicts? From the choices it gave me, it didn't seem like there was any clear resolution. Or are their dependencies too conflicting and you just can't use them together?
This may actually be more of an question about bower, but it may also be something about purescript and pulp that I am just unaware of. They both seem like libraries that should be able to work together, and I can't imagine that other people are having too much difficulty using two or more libraries in a single project.
Purescript 0.10 has breaking changes. If you have the latest compiler, it's likely that it's not compatible with some libraries. From what I see, signal lib is updated but the drawing is not. You can update the lib and use your own version. Or, send a PR, Phil and purescript community in general, is really fast on responding to pull requests.
Another temporary solution is to use the old compiler (0.9) and wait a couple months till everything is back to normal.
also see 0.10 migration guide.
So I upgraded to 1.4 for a project I am contributing to (in development/testing branch of course) and ran into some problems and thus we want to use Dart 1.3.6 again. However, I cannot find this.
Does anyone know where I could download it?
I have seen and starred https://code.google.com/p/dart/issues/detail?id=18323
as I was putting this question together, but of course seems like there is no more movement there just yet.
I think I pretty much ran into similar issues to what corgath described in comments on this question... looking for the right version in those "archives" where the "latest" is not really the latest anymore.
Update
There is now a nice page to select and download specific Dart versions https://www.dartlang.org/tools/download-archive/
Since a while there are also deb packages available which can be installed using
sudo apt-get install dart=1.7.0-dev.0.1.*
see https://www.dartlang.org/tools/debian.html for more details.
Original
You can download from
http://gsdview.appspot.com/dart-archive/channels/stable/release/
The list only contains the build number but each folder contains a file VERSION that contains detailed version information for this build.
dev channel releases can be found here
http://gsdview.appspot.com/dart-archive/channels/dev/release/
there are also unsigned raw builds (bleeding edge) but it is not recommended to use them.
http://gsdview.appspot.com/dart-archive/channels/be/raw/release/
This is the error messsage I get.
I know it's kind of an eye roller, that it's difficult nigh impossible to tell what I may need without the source, but it seems like a deployment problem as people that installed the Qt SDK can run it. Plus, I figured I'd have better luck asking here than with a chinese developer that speaks google-english.
So here's what I've done:
I installed the MSVC2012.
I used a program called cffexplorer to see what the exe was looking for. I have the 7 or so .dlls that are at the top of the tree.
I found a recent (jun 2013) qwindows.dll from elsewhere on my system and put it in ./plugins (I've tried this file in ./, ./plugins, and ./plugins/platforms
I created a qt.conf with the following data (I determined the format from an existing Qt based app that works)
[Paths]
Plugins = plugins
Yet, I continue to get this message. Any suggestions on what I might look for to clear this up?
Ask the developer what compiler was used to build the application. Then you will need the right dll (that was built with the same compiler as the application). Also notice that (by default) the documentation says that qwindows.dll should be in the platforms folder in the same path as your executable, read more here. Depending on whether the developer used a Qt built with angle, you may also need: libEGL.dll and libGLESv2.dll. Dependency walker might help you find dependencies that are not there.