Skip to content

Tag: java

Optapy error at “solver_manager_create(solver_config)”

I am trying to run solver_manager_create method as it shown in the quick start code in optapy repo (https://github.com/optapy/optapy-quickstarts/blob/04fd102ee31919cacc4145d0517fe07b2627ca02/employee-scheduling/services.py#L168) But i am receiving a java.lang.IllegalArgumentException error. Full Error: what a…

Regex Help for text/pattern between two keywords

I am trying to extract text between two words. The below pattern repeats itself with modifications in between ‘start keyword’ and ‘end keyword’ across the text document. The document has paragraphs and text before and after the following patterns, which i don’t want to extract. C…

Issue with Base64 encoding in Python and Decoding in Java

I have two packages running, one is written in python and the other in Java. The python package encodes a json(dictionary) object and sends it to the java package which decodes it into a specific POJO. Let the json in python be: { “name”: “John”, “Age”: 24, “Income&#8…

Transforming JSON with XSLT using SaxonEE and Python

I am attempting to write a Python script that transforms JSON to a text file (CSV) with XSLT. With saxon-ee-10.5.jar, I can successfully perform the desired transformation by running the following command (Windows 10): How can I achieve the same result by using Python? I have been trying with Saxon-EE/C, but …