Pyrite | Level 9

## Any examples from Solver/EXCEL to SAS/OPTMODEL

I know Solver/EXCEL but new to SAS/OPTMODEL.

Anyone has concrete examples from Solver/EXCEL to SAS/OPTMODEL. Links,

Thanks,

4 REPLIES 4
Pyrite | Level 9

## Any examples from Solver/EXCEL to OPTMODEL

I know Solver/EXCEL but new to SAS/OPTMODEL.

Anyone has concrete examples from Solver/EXCEL to SAS/OPTMODEL.

Thanks,

SAS Super FREQ

## Re: Any examples from Solver/EXCEL to OPTMODEL

Linear optimization? Quadratic programming? Nonlinear optimization?

Please post the problem that you would like to solve and any data.

The documentation for PROC OPTMODEL is the best place to start:

Pyrite | Level 9

## Re: Any examples from Solver/EXCEL to OPTMODEL

Rick：

Thanks for reply.  I have a problem below. 4 Entities, 2 exclusive States, 2 measurements,

need find the max sum of cross-product. Know how to use Solver/EXCEL, new to

OPTMODEL. You can help on how to specify var/con/max/solve...?!

The SAS example, I read over but still somehow hard to code correctly.

 State Entity1 Entity2 Entity3 Entity4 S1 9.9 6.1 1.4 7.1 S2 5.9 5.9 3.0 0.1 State Entity1 Entity2 Entity3 Entity4 S1 5.7 9.8 1.1 5.3 S2 1.3 7.8 8.5 9.5 CrossProduct 56.3 60.4 1.5 37.6 7.6 46.0 25.6 0.9 SUM(CP) 236.0
SAS Super FREQ

## Re: Any examples from Solver/EXCEL to SAS/OPTMODEL

Discussion stats
• 4 replies
• 389 views
• 0 likes
• 3 in conversation