Skip to content

tbrk/neos-server-ocaml-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCaml XML-RPC client for NEOS Server

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.

Dependencies

opam install base64 lwt_ssl cohttp-lwt-unix ppx_deriving ppx_deriving_rpc rpclib camlzip

Use

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

About

An OCaml client for NEOS server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published