Access the NEOS Server using the XMLRPC interface from OCaml. See the help for submitting LP problems.
This program relies on the ocaml-rpc, ocaml-base64, and ocaml-cohttp libraries. Many thanks to their authors and hard-working maintainers.
opam install base64 lwt_ssl cohttp-lwt-unix ppx_deriving ppx_deriving_rpc rpclib camlzip
Run the example code as follows
make && ./neosclient.exe --email <your-email-address> test.lp
Please provide your real email address out of respect for the maintainers of the NEOS servers.
Other examples:
./neosclient.exe --queue
./neosclient.exe --email <your-email-address> problem.lp --poll
./neosclient.exe --email me@ --ping problem.lp
./neosclient.exe --job <jobnum> --password <password> --status
./neosclient.exe --job <jobnum> --password <password> --info
./neosclient.exe --job <jobnum> --password <password> --kill