What is the difference between Optimproblem and linprog

2 visualizaciones (últimos 30 días)
NN
NN el 26 de Feb. de 2021
Comentada: NN el 1 de Mzo. de 2021
Please help,
The below syntax creates a linear optimisation problem ?
What is the difference of this above syntax with the linprog command below?
x = linprog(f,A,b)

Respuesta aceptada

Sai Veeramachaneni
Sai Veeramachaneni el 1 de Mzo. de 2021
Hi,
There are two ways to solve an optimization problem.
1) Problem-based
2) Solver-based
Problem-based approach involves creating an object for optimproblem. Solver-based approach uses linprog or intlinprog.
You can find the difference between problem-based and solver-based here.
Hope it helps.

Más respuestas (1)

Alan Weiss
Alan Weiss el 28 de Feb. de 2021
For examples and a description of the problem-based approach, see Linear Programming and Mixed-Integer Linear Programming.
Alan Weiss
MATLAB mathematical toolbox documentation

Categorías

Más información sobre Linear Least Squares en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by