## Shervin

Ms. Shervin Ataieyan

9 years, 89 days

## Can Maple do what GAMS and Lingo do?...

Maple

Hi,

Can Maple solve mathematical models? And can I use it to solve LP and NLPs?

## A linear stochastic model?...

Maple 18

Hi,

I have a linear mathematical model that is in deterministic form, but actually one of the input parameters has a stochastic nature and follows a log normal distribution function. and I need to include this in the formulation. Please help me with this questions:

1) Do I need to use stochastic programming methods to solve it? if yes, how?

2) How can I include the distribution function in my model?

3) Can I solve the these kinds of problems using Maple?

## Matrix multiplication...

Maple

Hi....how can i multiply the 9*4 matrix on the left side of this table to the 9*1 vector on the right side of it (last column) with a kind of product of cells that results a 9*4 matrix made up of cells like this one's [(a,b,c,d)⊗(e,f,g,h)=(ae,bf,cg,dh)]

 SO ST WO WT Weight C1 (0.55,0.67,0.78,0.89) (0.7,0.8,0.8,0.9) (0.767,0.867,0.93,0.967) (0.72,0.83,0.83,0.93) (0.7,0.8,0.8,0.9) C2 (0.67,0.78,0.89,0.97) (0.8,0.9,1,1) (0.73,0.83,0.867,0.93) (0.66,0.76,0.79,0.90) (0.8,0.9,1,1) C3 (0.78,0.89,0.89,1) (0.8,0.9,1,1) (7.67,8.67,9.3,9.67) (0.55,0.66,0.69,0.79) (0.767,0.867,0.93,0.967) C4 (0.78,0.89,0.89,1) (0.06,0.13,0.167.0.267) (0.8,0.9,1,1) (0.76,0.86,0.90,0.97) (0.43,0.53,0.567,0.667) C5 (0.78,0.89,0.89,1) (0.8,0.9,1,1) (0.06,0.13,0.167.0.267) (0.76,0.86,0.90,0.97) (0.73,0.83,0.867,0.93) C6 (0.74,0.85,0.93,1) (0.67,0.767,0.83,0.9) (0.73,0.83,0.867,0.93) (0.62,0.72,0.83,0.90) (0.8,0.9,1,1) C7 (0.59,0.70,0.74,0.85) (0.567,0.667,0.73,0.83) (0.667,0.767,0.83,0.9) (0.69,0.79,0.86,0.93) (0.067,0.1,0.2,0.3) C8 (0.74,0.85,0.93,1) (0.7,0.8,0.9,0.93) (0.567,0.667,0.73,0.83) (0.79,0.90,0.97,1) (0.73,0.83,0.867,0.93) C9 (0.70,0.81,0.85,0.96) (0.7,0.8,0.9,0.93) (0.7,0.8,0.8,0.9) (0.59,69,0.76,0.86) (0.53,0.63,0.667,0.767)

## 3D plotting of a piecewise...

Maple

Hi

I have problem with 3Dplotting of this piecewise...can anyone help me please?!

since i know the output will be a value between 0 and 1 can i plot it for different values of Mu in this range to eliminate a dimension?

Mu(x1, x2, x3) = piecewise(`or`(`or`(x1 > 55, x2 > 10), y >= 2), 1, x1 < 35 and x2 <= 10 and x3 < 1, (1/10)*x2, `and`(`and`(x1 < 35 and x2 <= 10, x3 >= 1), x3 <= 2), max((1/10)*x2, x3-1), `and`(`and`(`and`(x1 >= 35, x1 <= 55), x2 <= 10), x3 <= 1), 1-((55-x1)*(1/20))((10-x2)*(1/10)), `and`(`and`(`and`(`and`(x1 >= 35, x1 <= 55), x2 <= 10), x3 >= 1), x3 <= 2), max(x3-1, 1-((55-x1)*(1/20))((10-x2)*(1/10))))

Thank you very much in advance...

 Page 1 of 1
﻿