Skip to contents

Returns the raw Solution object from the most recent solve, containing primal and dual variable values, status, and solver attributes.

Usage

solution(x)

Arguments

x

A Problem object.

Value

A Solution object, or NULL if the problem has not been solved.