I have a non-linear program, minimizing sum of concave functions subject to linear constraints. Hence I'm using a different solver(in Julia). However, that solver assumes we have constraints in $Ax \le b$ form and requires me to pass $A$ and $b$ as input parameters. This is very inconvenient as I explicitly do not have these matrices. Since the constraints are linear, I plan to build them in cplex or gurobi and export the coefficient matrix $A$ and right hand side $b$ in some file and then import and read them in my NLP solver.
So, is there a way to extract $A$ and $b$ from the cplex model? I'm using docplex and guribipy.
Also if there is a better way to resolve this, I'm all ears.