hi_solver_write_model {highs}R Documentation

Write Model to File

Description

This function writes the current optimization model to a file.

Usage

hi_solver_write_model(solver, filename)

Arguments

solver

An object of class "highs_solver".

filename

A character string specifying the output file path.

Value

Invisible NULL.

Examples

solver <- example_solver()
model_file <- tempfile(fileext = ".mps")
hi_solver_write_model(solver, model_file)


[Package highs version 1.10.0-3 Index]