
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
highs-solver
Advanced tools
Node.js binding for the HiGHS optimization solver.
npm i highs-solver
If your system's architecture doesn't match one of the prebuilt addons, the addon will be built automatically during installation. This requires a compatible toolchain, refer to the corresponding installation steps for details.
import * as highs from 'highs-solver';
const solution = await highs.solve('my-model.lp', {
options: {time_limit: 30, mip_rel_gap: 0.05, /* ... */},
style: highs.SolutionStyle.PRETTY,
});
All file formats (.lp, .mps, ...) and options supported by
HiGHS may be passed in.
const solution = await highs.solve('my-large-model.mps', {
monitor: highs.solveMonitor().on('progress', (prog) => {
// Called each time the solver emits a progress notification.
console.log(prog);
}),
// Other options...
});
The monitor's 'progress' event includes information such as optimality gap,
number of LP iterations, ...
const solver = highs.Solver.create();
solver.setModel(/* Model instance */);
solver.warmStart({primalColumns: new Float64Array(/* Starting point */)});
await solver.solve();
const solution = solver.getSolution();
Models set from a file can be warmstarted similarly.
FAQs
Node.js binding for the HiGHS optimization solver
The npm package highs-solver receives a total of 55 weekly downloads. As such, highs-solver popularity was classified as not popular.
We found that highs-solver demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.