java.lang.Object
org.ojalgo.optimisation.service.OptimisationService
Basic usage:
- Put optimisation problems on the solve queue by calling
putOnQueue(Sense, byte[], FileFormat) - Check the status of the optimisation by calling
getStatus(String)– is itOptimisationService.Status.DONEor stillOptimisationService.Status.PENDING? - Get the result of the optimisation by calling
getResult(String)– whenOptimisationService.Status.DONE
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceIntegrationnewIntegration(String host) optimise(Optimisation.Sense sense, byte[] contents, ExpressionsBasedModel.FileFormat format) putOnQueue(Optimisation.Sense sense, byte[] contents, ExpressionsBasedModel.FileFormat format)
-
Constructor Details
-
OptimisationService
public OptimisationService()
-
-
Method Details
-
newIntegration
-
getResult
-
getStatus
-
optimise
public Optimisation.Result optimise(Optimisation.Sense sense, byte[] contents, ExpressionsBasedModel.FileFormat format) -
putOnQueue
public String putOnQueue(Optimisation.Sense sense, byte[] contents, ExpressionsBasedModel.FileFormat format) throws RecoverableCondition - Throws:
RecoverableCondition
-