Solver-class: Solver prototype

Description Fields Usage Arguments Details

Description

This prototype is used to generate objects that represent methods for solving optimization problems. This class represents a recipe to create solver and and is only recomended for use by expert users. To customize the method used to solve optimization problems, please see the help page on solvers.

Fields

$name

character name of solver.

$parameters

Parameters object with parameters used to customize the the solver.

$solve

function used to solve a OptimizationProblem-class object.

Usage

x$print()

x$show()

x$repr()

x$solve(op)

Arguments

x

Solver-class object.

op

OptimizationProblem-class object.

Details

print

print the object.

show

show the object.

repr

character representation of object.

solve

solve an OptimizationProblem-class using this object.


prioritizr/prioritizrutils documentation built on May 25, 2019, 12:20 p.m.