examples
The following are part of the OS project. Click on the links for detail on each example.
-
Executing the make command creates the executable OSSolverService. The OSSolverService can be used to call solvers either locally or remotely. Numerous features of OSSolverService are illustrated.
-
An example of how to use the OSInstance API to build an optimization instance in OSiL format and write out the format in OSiL.
-
An example of how to use the AMPL modeling language to create an model instance call a solver to optimize the instance.
-
An example of how to use the nonlinear OSInstance API for function, gradient, and Hessian calculation. The nonlinear API is based on the COIN project CppAD developed by Brad Bell.
-
An example of how to upload large instance files to a remote server for optimization.
-
A simple example of a main() program that can read an instance in OSiL format and call a COIN Sovler.
-
An example that uses the COIN solver IP opt.
-
An example that uses MATLAB to build a Markowitz Portfolio Optimization problem and solve with Optimization Services.