IBM CP Optimizer Community Edition - websphere

I get the following message when using docplex in Python:
Solver error: Problem size limit exceeded.
CP Optimizer Community Edition solves problems with search spaces up to 2^1000.
Unrestricted version options (including academia) at https://ibm.co/2s0wqSa
I have the academic version, but the license for CP Optimizer does not connect.
I have made the CPLEX_STUDIO_DIR201 and CPLEX_CPXCHECKLIC_BINDIR environment variables. But I can not find my API key to set CPLEX_STUDIO_KEY. Where do I find my API key?

In the solve parameter you can set the path for the right cplex cp engine on your machine.
msol=mdl.solve(execfile='C:\\ILOG\\CPLEX_Studio201\\cpoptimizer\\bin\\x64_win64\\cpoptimizer.exe')
See CPLEX Python API installment on Mac big sur problem CpoException for full example

Related

Can Informatica be used on Windows system?

I would like to know if Informatica can be used on Windows system ? If so what are the prerequisites?
Both the previous answers are wrong.
Windows 10 is supported for installing the client tools only.
For exact details which Windows server versions are supported, please log on (after initial sign-up if you haven't already done so) to the Informatica Network at https://network.informatica.com ; there's a section named Product Availability Matrices, here you find for each PowerCenter version the so-called Product Availability Matrix (PAM) indicating which Windows versions are supported for server installation and for client installation. You need both, and you can install both on the same Windows server system.
I won't go into this ugly ancient flame war here. Be it enough to say that some people managed to install the server part on Windows 10, but very few ever made it work reliably (in most cases the installation seems to work but doesn't, at latest after the next system restart). I wouldn't waste one single second trying to do so, it's not worth the time.

How to get MacOS Oracle ODBC client working with unixodbc?

I'm having a difficult time getting the Oracle 12.2.0.1.0-2 ODBC drivers and Instant Client (Basic Lite version) working with homebrew-installed unixODBC 2.3.5 under MacOS 10.12.6 (Sierra).
Extracting both of the Oracle ZIP files to /opt/ora12/instantclient_12_2, creating symlinks for libclntsh.dylib and libclntsh.dylib.12.1, then pointing odcb to the /opt/ora/12/instantclient_12_2/libsqora.lib gives a file not found error. While the path definitely exists and has good permissions, inspecting the dylib with otool -L shows that the #rpath directories are not finding the supporting libraries.
If I pull down the 12.2 sqlplus client, extract it to the same instantclient tree and run the binary, the CLI works fine. This seems to be some sort of dylib loading issue with odbc, but I'm not sure how to fix it. I've tried setting DYLIB_LIBRARY_PATH, copying all the libraries straight into /usr/local/lib, all to no effect.
I've not yet tried to pull out install_name_tool and hard coding search paths (getting further in the weeds than I've done before on MacOS) and I'm hoping something so drastic and non-portable isn't required. Is there a step to the install process I'm missing to get this working?
Thanks in advance!
After significant back and forth on the Oracle Community forums, the condensed solution is documented at this blog post: https://blogs.oracle.com/opal/installing-the-oracle-odbc-driver-on-macos?dd
In brief, the Oracle ODBC supplied odbc_update_ini.sh needs to be ran after first patching to change the reference from libsqora.so.12.1 to libsqora.dylib.12.1. Two libraries (libclntsh.dylib.12.1 and libclntshcore.dylib.12.1) then need to be symlinked into a library location on your PATH (I used /usr/local/lib).
With the above config (using the Basic client instead of Basic Lite, though Basic Lite should work) and the necessary tnsnames.ora black magic (TNS connection strings are covered in many other SO questions), I was able to connect both with command line isql and with my true goal, R's odbc and DBI using unixODBC.

Oracle SOA Suite 11g installation problems

I am trying to install Oracle SOA Suite 11g but I face the following problem during installation. There are some prerequisites marked as failed. I am wondering why the overall result of the check is not executed. In addition, I have a problem starting the SOA managed server later.
I cannot see the "SOA" folder here
Clearly, if you ignore the checks and SOA does not appear something is broken. You need to tell us your OS version and make sure you adhere to the installation instructions here. My guess is you're on some linux distro. There are many files that need to be installed in many cases on linux to make this work.
I suggest, unless you have to install directly on your OS, to use a prebuilt virtual image to get up and running quickly.
SOA Suite 12c prebuilt is here. Install virtual box (free) and then follow download instructions exactly.
Here is 11g.
Oracle recommends ignoring the results of these checks for some of it's products, although I couldn't find a specific reference to SOA product, you can try to just go ahead and continue with the installation, hoping it will run successfully.
Here's is a reference to Oracle's reference for installation issues -
http://docs.oracle.com/cd/E23943_01/doc.1111/e14771/install.htm#BABCCGAB
You can find an instruction to ignore these errors under the 2.1.6 Oracle Universal Installer Issues section, although I'm not sure they apply in your case.

Determine Windows Version, Edition and Service Pack OF AN OFFLINE DISK IMAGE

Using the registry alone, how does one detect: The Windows Version (XP, Vista, 7). The Edition (Home Premium, Professional, Ultimate). And The Service Pack level (Beta, RTM, SP1, SP2).
This is because I am repairing on offline system. The Registry of offline systems can be mounted and accessed.
Use the values under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion. I presume you know where to find that hive?! The respective hive can be found under %SystemRoot%\System32\config with the name SOFTWARE.
Side-note: you can attempt to verify your results by looking at some well-known files (e.g. kernel32.dll, ntdll.dll) and into their version information resource (what you're looking for is the file version: with, e.g. GetFileVersionInfo()).
Edition values, if that's needed, can be found at HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions. See here.
Everything you want is in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion.
However, I believe these values can be faked, so be cautious.
Using Linux, here Ubuntu, you can use chntpw.
I did this:
sudo apt install chntpw
chntpw -e /path/to/windisk/Windows/System32/config/SOFTWARE
cat \Microsoft\Windows NT\CurrentVersion\ProductName
and was told that the version was Windows 10 Home. Note that the capitalization in the path may differ across versions, so look if it doesn't work. One plae also mentioned a RegBack folder occurring int he path (sorry, I forgot where).
Additional details may be found through other keys. To list other keys in CurrentVersion, while in chntpw, do
ls \Microsoft\Windows NT\CurrentVersion

IBM Websphere Studio Application Developer Installation Error

I am getting the following error while installing the IBMWebsphere Studio Application Developer 5.1.2 in WinXP Pro.
" The installation of WebSphere Studio cannot continue because the following required parts are missing from the electronic images. Download the required parts and run the installation program again.
C571ILML.bin "
I am installing from the local hdd (d:/temp/disk1, disk2,disk3 and disk4) of setup program.
Can any body help me what could be the problem and how to solve this to install the IBM WAS.
Two questions.
Does that file exist anywhere in your install tree?
Check it again please, most codes are only 7 characters. The closest I've found is C57I1ML but that's part of Websphere Studio Site Developer 5.1.2. And, on top of that, WSAD 5.1.2 seems to have the C80 prefix.
BTW, there's no C571ILML anywhere on the IBM intranet that I can see.
EDIT:
The standard Websphere Studio Application Developer 5.1.2 for Windows has five disk images located on IBM's Xtreme Leverage site, those being C802XML, C802YML, C802ZML, C8030ML and C804UML.
I suspect your missing file is due to the fact that you only have the contents of four of those disk images.
You'll need to go back to your source and get the other disk image (or contents).
Alternatively, you may have the Integration Edition, in which case I'll need to look again - please clarify which one you have.

Resources