Learn R Programming

nlopt (version 0.1.1)

read_sol_file: Reads the .sol file

Description

Function that reads the corresponding .sol file

Usage

read_sol_file(solfile)

Value

list with a string of the output given by the solver (output), the optimal value of the problem (objective), the status returned by the solver (status), the optimal primal solution (primal_solution), and the optimal dual solution (dual_solution)

Arguments

solfile

.sol file with the solution

Examples

Run this code
read_sol_file(solfile = "example.sol")

Run the code above in your browser using DataLab