Skip to main content
Glama

USolver

by sdiehl

simple_highs_solver

Solve linear programming problems with a simplified interface for HiGHs, optimizing objectives using coefficients, variable bounds, and constraints while returning solutions or error messages.

Instructions

A simplified interface for solving HiGHs linear programming problems.

This tool provides a more straightforward interface for HiGHs problems, without requiring the full HiGHSProblem model structure. Args: sense: Optimization sense, either "minimize" or "maximize" objective_coeffs: List of objective function coefficients variables: List of variable definitions with optional bounds and types constraint_matrix: 2D list representing the constraint matrix (dense format) constraint_senses: List of constraint directions ("<=", ">=", "=") rhs_values: List of right-hand side values for constraints options: Optional solver options dictionary description: Optional description of the problem Returns: A list of TextContent containing the solution or an error message

Input Schema

NameRequiredDescriptionDefault
constraint_matrixYes
constraint_sensesYes
descriptionNo
objective_coeffsYes
optionsNo
rhs_valuesYes
senseYes
variablesYes

Input Schema (JSON Schema)

{ "properties": { "constraint_matrix": { "items": { "items": { "type": "number" }, "type": "array" }, "title": "Constraint Matrix", "type": "array" }, "constraint_senses": { "items": { "type": "string" }, "title": "Constraint Senses", "type": "array" }, "description": { "default": "", "title": "Description", "type": "string" }, "objective_coeffs": { "items": { "type": "number" }, "title": "Objective Coeffs", "type": "array" }, "options": { "anyOf": [ { "type": "object" }, { "type": "null" } ], "default": null, "title": "Options" }, "rhs_values": { "items": { "type": "number" }, "title": "Rhs Values", "type": "array" }, "sense": { "title": "Sense", "type": "string" }, "variables": { "items": { "type": "object" }, "title": "Variables", "type": "array" } }, "required": [ "sense", "objective_coeffs", "variables", "constraint_matrix", "constraint_senses", "rhs_values" ], "title": "simple_highs_solverArguments", "type": "object" }

You must be authenticated.

Other Tools from USolver

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sdiehl/usolver'

If you have feedback or need assistance with the MCP directory API, please join our Discord server