Runing AMPL file with CPLEX - optimization

I have an AMPL file and CPLEX software and I dont know if I can run it with CPLEX if yes How can do it? do I have to install something with CPLEX
NB: I dont have AMPL software

You need access to AMPL to use AMPL. See https://ampl.com/ for some of the available options and licenses. Some of the licenses are free. You can also submit AMPL jobs to NEOS at https://neos-server.org/neos/.

Related

Parallel STL algorithms requiring tbb or not?

I remember that g++ 9.3.0 required to link against libtbb to use parallel STL algorithms, otherwise it gave compilation errors. I have a docker container using an ubuntu image where I have installed g++-10 only and I can use the algorithms without writing -ltbb. How can I explain this? I searched everywhere and there is no libtbb anywhere, so I am assuming g++-10 no longer needs it? Where can I read some documentation about this fact that it does not need it or is required up to version x.x.x? Thanks for clarifying.

SCIP-SDP through Matlab

I am I trying to install SCIP-SDP. As I am not a Linux user, I have found the instructions for installing SCIP very confusing, and have not managed to install it.
I have then chosen to use SCIP through Matlab by using Opti. I have managed to solve some LPs with SCIP through Opti. Is it possible to use SCIP-SDP through Opti? If so, could you please give me some guidelines on how to do it?
There exists an interface from the optitoolbox to SCIP-SDP, but this is quite old and will only work with SCIP-SDP 1.0, but since I haven't used the toolbox myself, I can't give you any more details. There is also the possibility to use SCIP-SDP via the neos-server, but this is also only SCIP-SDP 2.0 (and you should give a settings file, since the default settings are sometimes a little bit strange). For the most current version, you will unfortunately need to install it through the console, and this is really only tested on Linux. Perhaps you could try to use a virtual machine? If there are any specific problems with installing SCIP or SCIP-SDP (preferably on Linux), then feel free to ask, either here or via mail.

How to exercise Tensorflow XLA AOT support in tensorflow's distribution

Tensorflow 1.0 has introduced XLA support that includes JIT compilation and AOT compilation. For JIT compilation, I found a python test script with which it can be unit-tested. However, I've not found any python test for AOT compilation. There are bazel tests though, which can be run on source tree.
Tensorflow's link https://www.tensorflow.org/performance/xla/tfcompile provides information on how to test. But tfcompile does not make into the tensorflow's distribution content. I may be wrong here. But I could not see tfcompile anywhere in the TF's distribution directory where it is installed.
Could anyone please help me understand how to test AOT compilation on the existing distribution content OR I need to tweak something in the code to allow AOT stuff to go into distribution?
Thanks in advance.
I know you're asking specifically about AOT, but I recommend you first read this page: https://www.tensorflow.org/performance/xla/
And then read this one: https://www.tensorflow.org/performance/xla/jit
In particular note that XLA is not included in our binary distributions; you must build from source at the moment. Note that you must pick "enable XLA" when you run ./configure in order for XLA support to be enabled.
Once you've done that, Yaroslav Bulatov's advice is correct; you can build the binaries yourself, or run the tests via bazel.

how to install SCIP

I use YALMIP which has to use SCIP to solve my problem. I don't know how to install it on my computer(Win 7). I have download it and the install file told me to enter "make" in my computer.
Where should I enter this commend? I typed it in "matlab" and “CMD”. But it didn't work.
make is a UNIX tool. You cannot use it under Windows unless you're inside a Linux/UNIX environment like Cygwin.
If you want to install SCIP on Windows you need to compile the code first, e.g. using Visual Studio.
Another possibility might be to use the precompiled binaries/executables of the previous version SCIP 3.1.0.
From the YALMIP Wiki entry SCIP:
To use the solver in YALMIP and MATLAB, a mex interface is required. YALMIP uses the interface available in the OPTI Toolbox.

How to integrate OpenNI, NITE libraries in CodeBlocks or Geany

I installed the OpenNI+NITE+kinect on ubuntu 12.10 today and the samples are working fine. (Ran NITE samples and they work like charm)
I want to start developing in Linux and I like to work with IDE. For ubuntu I have always used Geany or Codeblocks and i was wondering if there was a way to integrate OpenNI,NITE libraries to the IDE's so that I can write, execute, debug the code easily from the IDE itself.
I tried to add the libraries myself in geany but all my attempts failed. :/
Also, when I do make for Sample examples in OpenNI, I get *.d and *.o files but I dont seem to get the executable *.out . So i am not sure how to run the programs.
I am a novice programmer, just starting to learn, So please excuse the noobness in
questions.
Appreciate the Help.
Thanks
Generally if you're doing something non-trivial with Geany you will need to provide your own build system (even simple GNU Make files will do). Geany is intentionally build system agnostic and allows you to run arbitrary build commands which are described in the manual as well as in a helpful article on the wiki.
If you describe in more detail the errors/problems you referred to as "attempts failed" it will likely be possible to provide more concrete solutions.