Welcome to the Solvice API! You can use our API to access Solvice API endpoints, which can get information on your solved jobs, their statuses and of course post new solve jobs.
first of all, get your account through our Dashboard and create an API key.
The dashboard will allow you to see your past requests and current usage of the Solver API.
Add a HTTP header with your API key:
The Solvice API is super simple! Basically, it holds one
/solve endpoint for sending an asynchronous solve request to for a certain optimization problem and it holds one
/jobs/:job_id/solution endpoint for retrieving the solved job asynchronous. That's it! The only thing you have to manage is the actual payload for the solve request.
Common usage of the Solvice API follows this flow:
- Post solve request for x seconds with HTTP param
- Fetch status of job
- Fetch solution if
status=SOLVEDin solution endpoint
- Fetch statistics if
!score.feasiblein statistics endpoint
Updated about 2 months ago