| Problem | R Documentation |
Constructs a convex optimization problem from an objective and a list of
constraints. Use psolve to solve the problem.
Problem(objective, constraints = list())
objective |
A |
constraints |
A list of |
A Problem object.
Problems must contain at least one Variable.
Zero-variable problems (e.g., minimizing a constant) will cause an
internal error in the reduction pipeline.
x <- Variable(2)
prob <- Problem(Minimize(sum_entries(x)), list(x >= 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.